Class: Ruleby::Core::RightAdapterNode

Inherits:
ParentNode show all
Defined in:
lib/core/nodes.rb

Overview

This class is used to plug nodes into the right input of a two-input JoinNode

Instance Attribute Summary

Attributes inherited from ParentNode

#child_nodes

Attributes inherited from Printable

#parent_nodes

Instance Method Summary collapse

Methods inherited from ParentNode

#add_out_node, #assert, #initialize, #propagate, #propagate_modify, #retract

Methods inherited from Node

#initialize, #resolve

Methods inherited from Printable

#initialize, #print

Constructor Details

This class inherits a constructor from Ruleby::Core::ParentNode

Instance Method Details

#modify(context) ⇒ Object



701
702
703
# File 'lib/core/nodes.rb', line 701

def modify(context)
  propagate(:modify_right, context)
end

#propagate_assert(context) ⇒ Object



689
690
691
# File 'lib/core/nodes.rb', line 689

def propagate_assert(context)
  propagate(:assert_right, context)
end

#propagate_retract(fact) ⇒ Object



693
694
695
# File 'lib/core/nodes.rb', line 693

def propagate_retract(fact)
  propagate(:retract_right, fact)
end

#retract_resolve(match) ⇒ Object



697
698
699
# File 'lib/core/nodes.rb', line 697

def retract_resolve(match)
  propagate(:retract_resolve, match)
end