class AdLint::Ld::ObjectReferrer::CtorsSection

Attributes

location[R]

Public Class Methods

new(ref_loc) click to toggle source
# File lib/adlint/ld/object.rb, line 401
def initialize(ref_loc)
  @location = ref_loc
end

Public Instance Methods

eql?(rhs) click to toggle source
# File lib/adlint/ld/object.rb, line 415
def eql?(rhs)
  case rhs
  when CtorsSection
    @location.fpath == rhs.location.fpath
  else
    false
  end
end
function() click to toggle source
# File lib/adlint/ld/object.rb, line 407
def function
  nil
end
hash() click to toggle source
# File lib/adlint/ld/object.rb, line 411
def hash
  @location.fpath.hash
end