Class: JvmBytecode::Instructions::Return

Inherits:
Instruction show all
Defined in:
lib/jvm_bytecode/instructions/instruction_set.rb

Instance Attribute Summary

Attributes inherited from Instruction

#args, #cp

Instance Method Summary collapse

Methods inherited from Instruction

#additional_bytecode, all, #bytecode, #decode, fetch, format, #initialize

Constructor Details

This class inherits a constructor from JvmBytecode::Instructions::Instruction

Instance Method Details

#to_hashObject



26
27
28
# File 'lib/jvm_bytecode/instructions/instruction_set.rb', line 26

def to_hash
  super.merge({ mnemonic: 'return' })
end