Class: ActiverecordCallbackLens::Graph::ConditionNode

Inherits:
Data
  • Object
show all
Defined in:
lib/activerecord_callback_lens/graph/nodes.rb

Overview

One node per logical combinator (AndNode / OrNode) in a ConditionTree. tree_node: ConditionTree::AndNode | ConditionTree::OrNode

Instance Attribute Summary collapse

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



22
23
24
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 22

def id
  @id
end

#tree_nodeObject (readonly)

Returns the value of attribute tree_node

Returns:

  • (Object)

    the current value of tree_node



22
23
24
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 22

def tree_node
  @tree_node
end