Module: Zippo::BinaryStructure::InstanceMethods
- Defined in:
- lib/zippo/binary_structure/meta.rb
Instance Method Summary collapse
Instance Method Details
#convert_to(other) ⇒ Object
140 141 142 143 144 |
# File 'lib/zippo/binary_structure/meta.rb', line 140 def convert_to other method = :"convert_to_#{other.object_id}" ::Zippo::BinaryStructure::CodeGen.define_converter_for(self.class, method, other) unless respond_to? method send method end |