compiler/lib/terror/instructions.rb
# Public: Disassembles the instruction to a readable format.
#
# Returns a readable String representing the instruction and its operands.
Disassembles the instruction to a readable format.
Returns a readable String representing the instruction and its operands.
Disassembles the instruction to a readable format . Returns a readable String representing the instruction and its operands .
def to_s
        name = self.class.name.split('::').last
        output = [
          name.upcase,
        ] + operands
        output.join " "
      end
def to_s name = self . class . name . split ( '::' ) . last output = [ name . upcase , ] + operands output . join " " end
Public: Disassembles the instruction to a readable format.
Public : Disassembles the instruction to a readable format .
# self.class.value