module JvmBytecode::Extensions
Public Instance Methods
join_bytecodes(template = 'S>') { |: length].pack('S>') + map(&:bytecode).join('')| ... }
click to toggle source
# File lib/jvm_bytecode/extensions.rb, line 4 def join_bytecodes(template = 'S>') [block_given? ? yield : length].pack('S>') + map(&:bytecode).join('') end
shortname()
click to toggle source
# File lib/jvm_bytecode/extensions.rb, line 10 def shortname name.split('::').last end