class XfOOrth::VmSpec
A class used to specify the compile of VM words.
Public Instance Methods
build_builds_string(_name, symbol)
click to toggle source
Generate the Ruby code for this method.
Parameters:
-
_name - The string that maps to the symbol. Unused
-
symbol - The symbol that the name maps to.
# File lib/fOOrth/compiler/word_specs.rb, line 59 def build_builds_string(_name, symbol) @builds = "vm.#{symbol}(vm); " end