class LogicTools::NodeValue

Represents a value node.

Public Instance Methods

eval() click to toggle source

Computes the value of the node.

# File lib/logic_tools/logictree.rb, line 342
def eval
    return @value
end
op() click to toggle source

Gets the operator.

# File lib/logic_tools/logictree.rb, line 347
def op
    return @value.to_s.to_sym
end