class XfOOrth::TosSpec
A class used to specify the compile of public methods of a class or object.
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 70 def build_builds_string(_name, symbol) @builds = "vm.pop.#{symbol}(vm); " end