Class: Studio::Ability

Inherits:
Object show all
Defined in:
docs/3_Studio.rb

Overview

Data class describing an Ability

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#db_symbol ⇒ Symbol (readonly)

db_symbol of the ability

Returns:

  • (Symbol)


236
237
238
# File 'docs/3_Studio.rb', line 236

def db_symbol
  @db_symbol
end

#id ⇒ Integer (readonly)

ID of the ability

Returns:

  • (Integer)


233
234
235
# File 'docs/3_Studio.rb', line 233

def id
  @id
end

#text_id ⇒ Integer (readonly)

ID of the text of the ability in the text files

Returns:

  • (Integer)


239
240
241
# File 'docs/3_Studio.rb', line 239

def text_id
  @text_id
end

Instance Method Details

#description ⇒ String Also known as: descr

Get the text description of the ability

Returns:



242
243
# File 'docs/3_Studio.rb', line 242

def description
end

#name ⇒ String

Get the text name of the ability

Returns:



247
248
# File 'docs/3_Studio.rb', line 247

def name
end