Class: Starcraft2::Profile::Ladders
- Inherits:
-
Object
- Object
- Starcraft2::Profile::Ladders
- Defined in:
- lib/starcraft2/profile/ladders.rb
Instance Attribute Summary collapse
-
#current_season ⇒ Object
Returns the value of attribute current_season.
-
#previous_season ⇒ Object
Returns the value of attribute previous_season.
-
#showcase_placement ⇒ Object
Returns the value of attribute showcase_placement.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Ladders
constructor
A new instance of Ladders.
Constructor Details
#initialize(options = {}) ⇒ Ladders
Returns a new instance of Ladders.
6 7 8 |
# File 'lib/starcraft2/profile/ladders.rb', line 6 def initialize( = {}) Utils.load(self, , {}, {:current_season => DetailedSeason, :previous_season => DetailedSeason}) end |
Instance Attribute Details
#current_season ⇒ Object
Returns the value of attribute current_season.
4 5 6 |
# File 'lib/starcraft2/profile/ladders.rb', line 4 def current_season @current_season end |
#previous_season ⇒ Object
Returns the value of attribute previous_season.
4 5 6 |
# File 'lib/starcraft2/profile/ladders.rb', line 4 def previous_season @previous_season end |
#showcase_placement ⇒ Object
Returns the value of attribute showcase_placement.
4 5 6 |
# File 'lib/starcraft2/profile/ladders.rb', line 4 def showcase_placement @showcase_placement end |