Class: WoW::Base
Direct Known Subclasses
Achievement, WoW::BattlePet::Ability, WoW::BattlePet::Species, WoW::BattlePet::Stats, ChallengeMode::Realm, CharacterProfile, Guild, Item, Item::Set, Leaderboard, Quest, Recipe, Spell
Instance Method Summary collapse
- #[](key) ⇒ Object
- #[]=(key, value) ⇒ Object
-
#initialize(data) ⇒ Base
constructor
A new instance of Base.
Constructor Details
Instance Method Details
#[](key) ⇒ Object
15 16 17 |
# File 'lib/wow/base.rb', line 15 def [](key) super(key.to_sym) end |
#[]=(key, value) ⇒ Object
19 20 21 |
# File 'lib/wow/base.rb', line 19 def []=(key, value) super(key.to_sym, value) end |