Class: WoW::Base
- Inherits:
-
Hash
- Object
- Hash
- WoW::Base
- Defined in:
- lib/wow/base.rb
Direct Known Subclasses
Achievement, WoW::BattlePet::Ability, WoW::BattlePet::Species, WoW::BattlePet::Stats, 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
12 13 14 |
# File 'lib/wow/base.rb', line 12 def [](key) super(key.to_sym) end |
#[]=(key, value) ⇒ Object
16 17 18 |
# File 'lib/wow/base.rb', line 16 def []=(key, value) super(key.to_sym, value) end |