class XfOOrth::MacroSpec

A class used to specify the compile of fOOrth macros.

Public Instance Methods

build_builds_string(_name, _symbol) click to toggle source

Generate the Ruby code for this macro.
Parameters:

  • _name - The string that maps to the symbol. Unused

  • _symbol - The symbol that the name maps to. Unused


Note:

  • The last entry in the tags array is expected to be a string with the text of the command macro.

# File lib/fOOrth/compiler/word_specs.rb, line 177
def build_builds_string(_name, _symbol)
  @builds = @tags[-1]
end