Class: Verneuil::Instruction

Inherits:
Array
  • Object
show all
Defined in:
lib/verneuil/instruction.rb

Overview

A single instruction for the verneuil processor. This is like sexp a thin wrapper around array.

Instance Method Summary collapse

Constructor Details

#initialize(*parts) ⇒ Instruction

Returns a new instance of Instruction.



6
7
8
9
# File 'lib/verneuil/instruction.rb', line 6

def initialize(*parts)
  super(parts.size)
  replace(parts)
end