Class: Verneuil::Instruction
- Inherits:
-
Array
- Object
- Array
- Verneuil::Instruction
- 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
-
#initialize(*parts) ⇒ Instruction
constructor
A new instance of Instruction.
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 |