class XfOOrth::SelfSpec

A class used to specify the compile of private 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 81
def build_builds_string(_name, symbol)
  @builds = "self.#{symbol}(vm); "
end