class XfOOrth::LocalSpec

A class used to specify the compile of fOOrth variable.

Public Instance Methods

build_builds_string(_name, symbol) click to toggle source

Generate the Ruby code for this fOOrth variable.
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 163
def build_builds_string(_name, symbol)
  @builds = "instance_exec(vm, &vm.context[#{symbol.inspect}].does); "
end