Class: RubyGS::PokedexArray
- Inherits:
-
BinData::Array
- Object
- BinData::Array
- RubyGS::PokedexArray
- Defined in:
- lib/ruby_gs/structs/pokedex_data.rb
Instance Method Summary collapse
Instance Method Details
#[](i) ⇒ Object
14 15 16 |
# File 'lib/ruby_gs/structs/pokedex_data.rb', line 14 def [] i return @element_list[real_index(i)].snapshot end |
#[]=(i, v) ⇒ Object
18 19 20 |
# File 'lib/ruby_gs/structs/pokedex_data.rb', line 18 def []= i, v @element_list[real_index(i)].assign v end |