class Rex::Poly::Machine::Primitive
A primitive is a machine defined permutation which accepts some arguments when it is called.
Public Class Methods
new( source )
click to toggle source
Initialize this primitive with its target source procedure and the machine it belongs to.
# File lib/rex/poly/machine/machine.rb, line 209 def initialize( source ) @source = source end
Public Instance Methods
call( name, machine, *args )
click to toggle source
Call the primitives source procedure, passing in the arguments.
# File lib/rex/poly/machine/machine.rb, line 216 def call( name, machine, *args ) return @source.call( name, machine, *args ) end