Class: Furnace::AVM2::ABC::MetadataInfo
- Inherits:
-
Record
- Object
- Binary::Record
- Record
- Furnace::AVM2::ABC::MetadataInfo
- Defined in:
- lib/furnace-avm2/abc/metadata/metadata_info.rb
Instance Attribute Summary
Attributes inherited from Binary::Record
Instance Method Summary collapse
Methods inherited from Record
abc_array_of, flag, pool_array, pool_array_of, pool_ref, subset, xlat_direct, xlat_field, xlat_inverse
Methods inherited from Binary::Record
#byte_length, codegen, codegen_each, inherited, #inspect, method_missing, register, trace, trace_scope, trace_value
Instance Method Details
#to_hash ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/furnace-avm2/abc/metadata/metadata_info.rb', line 9 def to_hash hash = {} item_count.times do |n| hash[item_keys[n]] = item_values[n] end hash end |