class RbPlusPlus::Builders::ModuleFunctionNode

Wrap up a method on a Module as a module_function

Public Instance Methods

build() click to toggle source
# File lib/rbplusplus/builders/module_function.rb, line 7
def build
  add_child IncludeNode.new(self, code.file)

  self.rice_method = "define_module_function"
end