Class: ActiverecordCallbackLens::Graph::Edge
- Inherits:
-
Data
- Object
- Data
- ActiverecordCallbackLens::Graph::Edge
- Defined in:
- lib/activerecord_callback_lens/graph/nodes.rb
Overview
A directed edge from a child node to its parent node. label: Symbol
Instance Attribute Summary collapse
-
#from_id ⇒ Object
readonly
Returns the value of attribute from_id.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#to_id ⇒ Object
readonly
Returns the value of attribute to_id.
Instance Attribute Details
#from_id ⇒ Object (readonly)
Returns the value of attribute from_id
32 33 34 |
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 32 def from_id @from_id end |
#label ⇒ Object (readonly)
Returns the value of attribute label
32 33 34 |
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 32 def label @label end |
#to_id ⇒ Object (readonly)
Returns the value of attribute to_id
32 33 34 |
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 32 def to_id @to_id end |