Module: Relyze::ExecutableFileModel::Instruction::RawDecodedInstructionMixin
- Defined in:
- C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb
Overview
A helper mixin module that is applied to all Hash objects in a raw decoded instruction Hash in order to access the hash values via method calls to the expected key value. A helper method to_asm is also provided.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *opts) ⇒ Object
[View source]
1450 1451 1452 1453 1454 1455 1456 |
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 1450 def method_missing( method, *opts ) key = method.to_sym if( self.has_key?( key ) ) return self[key] end super end |
Instance Method Details
#to_asm ⇒ Object
[View source]
1446 1447 1448 |
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 1446 def to_asm return Relyze::ExecutableFileModel::Instruction.to_asm( self ) end |