Class: LogicTools::NodeTrue
- Defined in:
- lib/logic_tools/logictree.rb
Overview
Represents a true node.
Instance Method Summary collapse
-
#initialize ⇒ NodeTrue
constructor
Creates as a NodeValue whose value is true.
Methods inherited from NodeValue
#==, #eval, #getVariablesRecurse, #to_s, #to_sym
Methods inherited from Node
#distribute, #each, #each_line, #each_maxterm, #each_minterm, #eql?, #flatten, #flatten_deep, #getVariables, #hash, #inspect, #op, #simplify, #size, #to_std_conjunctive, #to_std_disjunctive, #to_sum_product, #to_sym
Constructor Details
#initialize ⇒ NodeTrue
Creates as a NodeValue whose value is true.
302 303 304 |
# File 'lib/logic_tools/logictree.rb', line 302 def initialize super(true) end |