Class: GenText::Compile

Inherits:
Parse
  • Object
show all
Defined in:
lib/gen_text/compile.rb

Instance Method Summary collapse

Instance Method Details

#call(*args) ⇒ Object

Returns the program as an Array of [:method_id, *args] where method_id is ID of VM‘s method. The program may raise GenText::CheckFailed.

Returns:

  • the program as an Array of [:method_id, *args] where method_id is ID of VM‘s method. The program may raise GenText::CheckFailed.



12
13
14
# File 'lib/gen_text/compile.rb', line 12

def call(*args)
  super(*args).to_vm_code
end