class Sol::NumberNode

Public Instance Methods

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

        # Here we access the Runtime, which we'll see in the next section, to create a new instance of the Number class
        RuntimeModel::Runtime["Number"].new_with_value(value)

end