Class: UCD::Node::Relationship

Inherits:
Base
  • Object
show all
Includes:
HasName, HasType
Defined in:
lib/ucd/node/relationship.rb

Direct Known Subclasses

ClassRelationship

Instance Attribute Summary collapse

Attributes included from HasType

#type

Attributes included from HasName

#name

Attributes inherited from Base

#parent

Method Summary

Methods inherited from Base

#initialize

Methods included from HasAttributes

#update_attributes

Constructor Details

This class inherits a constructor from UCD::Node::Base

Instance Attribute Details

#fromObject

Returns the value of attribute from.



12
13
14
# File 'lib/ucd/node/relationship.rb', line 12

def from
  @from
end

#toObject

Returns the value of attribute to.



18
19
20
# File 'lib/ucd/node/relationship.rb', line 18

def to
  @to
end