class AdLint::Ld::ObjectReference
Attributes
location[R]
object[R]
referrer[R]
Public Class Methods
new(ref, obj, loc)
click to toggle source
# File lib/adlint/ld/object.rb, line 430 def initialize(ref, obj, loc) @referrer = ref @object = obj @location = loc end
Public Instance Methods
eql?(rhs)
click to toggle source
# File lib/adlint/ld/object.rb, line 440 def eql?(rhs) to_a == rhs.to_a end
Also aliased as: ==
hash()
click to toggle source
# File lib/adlint/ld/object.rb, line 446 def hash to_a.hash end
to_a()
click to toggle source
# File lib/adlint/ld/object.rb, line 450 def to_a [@referrer, @object, @location] end