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, #get_variablesRecurse, #op, #to_s, #to_sym
Methods inherited from Node
#cover?, #distribute, #each, #each_line, #each_maxterm, #each_minterm, #eql?, #flatten, #flatten_deep, #get_variables, #hash, #include?, #inspect, #is_parent?, #op, #reduce, #simplify, #size, #to_cover, #to_std_conjunctive, #to_std_disjunctive, #to_sum_product, #to_sym
Constructor Details
#initialize ⇒ NodeTrue
Creates as a NodeValue whose value is true.
357 358 359 |
# File 'lib/logic_tools/logictree.rb', line 357 def initialize super(true) end |