class Rubycritic::Location

def <=>(other)

def <=>(other)
  state <=> other.state
end

def ==(other)

def ==(other)
  self.class == other.class && state == other.state
end

def initialize(path, line)

def initialize(path, line)
  @pathname = Pathname.new(path)
  @line = line
end

def state

def state
  [@pathname, @line]
end

def to_s

def to_s
  "#{pathname}:#{line}"
end