Class: Foobara::Util::ReferencePathPart

Inherits:
Object
  • Object
show all
Defined in:
foobara-util-1.0.4/lib/foobara/util/object_space.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#referenceeObject

Returns the value of attribute referencee.



4
5
6
# File 'lib/foobara/util/object_space.rb', line 4

def referencee
  @referencee
end

#referencerObject

Returns the value of attribute referencer.



4
5
6
# File 'lib/foobara/util/object_space.rb', line 4

def referencer
  @referencer
end

#viaObject

Returns the value of attribute via.



4
5
6
# File 'lib/foobara/util/object_space.rb', line 4

def via
  @via
end

#via_typeObject

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