Class: Starcraft2::Profile::Ladders

Inherits:
Object
  • Object
show all
Defined in:
lib/starcraft2/profile/ladders.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Ladders

Returns a new instance of Ladders.



6
7
8
# File 'lib/starcraft2/profile/ladders.rb', line 6

def initialize(options = {})
  Utils.load(self, options, {}, {:current_season => DetailedSeason, :previous_season => DetailedSeason})
end

Instance Attribute Details

#current_seasonObject

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_seasonObject

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_placementObject

Returns the value of attribute showcase_placement.



4
5
6
# File 'lib/starcraft2/profile/ladders.rb', line 4

def showcase_placement
  @showcase_placement
end