Class: Foobara::Util::ReferencePathPart
- Inherits:
-
Object
- Object
- Foobara::Util::ReferencePathPart
- Defined in:
- foobara-util-1.0.4/lib/foobara/util/object_space.rb
Instance Attribute Summary collapse
-
#referencee ⇒ Object
Returns the value of attribute referencee.
-
#referencer ⇒ Object
Returns the value of attribute referencer.
-
#via ⇒ Object
Returns the value of attribute via.
-
#via_type ⇒ Object
Returns the value of attribute via_type.
Instance Method Summary collapse
-
#initialize(referencer, referencee, via, via_type) ⇒ ReferencePathPart
constructor
A new instance of ReferencePathPart.
Constructor Details
#initialize(referencer, referencee, via, via_type) ⇒ ReferencePathPart
Returns a new instance of ReferencePathPart.
6 7 8 9 10 11 |
# File 'lib/foobara/util/object_space.rb', line 6 def initialize(referencer, referencee, via, via_type) self.referencer = referencer self.referencee = referencee self.via = via self.via_type = via_type end |
Instance Attribute Details
#referencee ⇒ Object
Returns the value of attribute referencee.
4 5 6 |
# File 'lib/foobara/util/object_space.rb', line 4 def referencee @referencee end |
#referencer ⇒ Object
Returns the value of attribute referencer.
4 5 6 |
# File 'lib/foobara/util/object_space.rb', line 4 def referencer @referencer end |
#via ⇒ Object
Returns the value of attribute via.
4 5 6 |
# File 'lib/foobara/util/object_space.rb', line 4 def via @via end |
#via_type ⇒ Object
Returns the value of attribute via_type.
4 5 6 |
# File 'lib/foobara/util/object_space.rb', line 4 def via_type @via_type end |