Class: Arena::Group
- Inherits:
-
Object
- Object
- Arena::Group
- Defined in:
- lib/arena/group.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#stories ⇒ Object
readonly
Returns the value of attribute stories.
Instance Method Summary collapse
- #created_at ⇒ Object
-
#initialize(id, stories) ⇒ Group
constructor
A new instance of Group.
- #summary ⇒ Object
Constructor Details
#initialize(id, stories) ⇒ Group
Returns a new instance of Group.
8 9 10 11 |
# File 'lib/arena/group.rb', line 8 def initialize(id, stories) @id = id @stories = stories end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/arena/group.rb', line 6 def id @id end |
#stories ⇒ Object (readonly)
Returns the value of attribute stories.
6 7 8 |
# File 'lib/arena/group.rb', line 6 def stories @stories end |