Module: Dag::Polymorphic::PolyEdgeInstanceMethods
- Defined in:
- lib/dag/polymorphic.rb
Overview
Instance methods included into link model for a polymorphic DAG
Instance Method Summary collapse
Instance Method Details
#ancestor_type ⇒ Object
66 67 68 |
# File 'lib/dag/polymorphic.rb', line 66 def ancestor_type self[ancestor_type_column_name] end |
#descendant_type ⇒ Object
70 71 72 |
# File 'lib/dag/polymorphic.rb', line 70 def descendant_type self[descendant_type_column_name] end |