Class: UCD::Node::Relationship
- Defined in:
- lib/ucd/node/relationship.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#to ⇒ Object
Returns the value of attribute to.
Attributes included from HasType
Attributes included from HasName
Attributes inherited from Base
Method Summary
Methods inherited from Base
Methods included from HasAttributes
Constructor Details
This class inherits a constructor from UCD::Node::Base
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from.
12 13 14 |
# File 'lib/ucd/node/relationship.rb', line 12 def from @from end |
#to ⇒ Object
Returns the value of attribute to.
18 19 20 |
# File 'lib/ucd/node/relationship.rb', line 18 def to @to end |