Class: RPG::Troop
- Inherits:
-
Object
- Object
- RPG::Troop
- Defined in:
- lib/rpg/troop.rb,
lib/rpg/troop/page.rb,
lib/rpg/troop/member.rb,
lib/rpg/troop/page/condition.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#members ⇒ Object
Returns the value of attribute members.
-
#name ⇒ Object
Returns the value of attribute name.
-
#pages ⇒ Object
Returns the value of attribute pages.
Instance Method Summary collapse
-
#initialize ⇒ Troop
constructor
A new instance of Troop.
Constructor Details
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/rpg/troop.rb', line 9 def id @id end |
#members ⇒ Object
Returns the value of attribute members.
11 12 13 |
# File 'lib/rpg/troop.rb', line 11 def members @members end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/rpg/troop.rb', line 10 def name @name end |
#pages ⇒ Object
Returns the value of attribute pages.
12 13 14 |
# File 'lib/rpg/troop.rb', line 12 def pages @pages end |