class Sol::FuncNode

Method definition.

Public Instance Methods

eval(context) click to toggle source
# File lib/sol/interpreter.rb, line 161
def eval(context)

        # Defining a method is adding a method to the current class
        method = RuntimeModel::SolFunction.new(params, body)

        RuntimeModel::Runtime.current_class.runtime_methods[name] = method # I think this works

end