Class: Clashinator::Season
- Inherits:
-
Object
- Object
- Clashinator::Season
- Defined in:
- lib/clashinator/season.rb
Overview
This class represents the league model through the league model
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id) ⇒ Season
constructor
A new instance of Season.
Constructor Details
#initialize(id) ⇒ Season
Returns a new instance of Season.
7 8 9 |
# File 'lib/clashinator/season.rb', line 7 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/clashinator/season.rb', line 5 def id @id end |