Class: Hextech::League::ChampionRotation
- Defined in:
- lib/hextech/league/champion_rotation.rb
Constant Summary collapse
- REGIONS =
%w[euw1 eun1 na1 oc1 kr br1 tr1 la2 la1 ru jp1].freeze
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(region: 'euw1') ⇒ ChampionRotation
constructor
A new instance of ChampionRotation.
Methods included from Mixins::Callable
Methods included from Mixins::ArgumentChecks
Constructor Details
#initialize(region: 'euw1') ⇒ ChampionRotation
Returns a new instance of ChampionRotation.
9 10 11 12 13 |
# File 'lib/hextech/league/champion_rotation.rb', line 9 def initialize(region: 'euw1') @region = region super() end |
Instance Method Details
#call ⇒ Object
15 16 17 18 19 |
# File 'lib/hextech/league/champion_rotation.rb', line 15 def call validate_collection_for(collection: REGIONS, option: region) super end |