class Squash::Symbolicator::Symbol

An address ranged mapped to a symbol (method or function name), as part of a {Symbols} aggregation. The file and line where the symbol is declared is also included.

Public Instance Methods

<=>(other) click to toggle source

@private

# File lib/squash/symbolicator/symbols.rb, line 29
def <=>(other)
  raise ArgumentError unless other.kind_of?(Squash::Symbolicator::Symbol)
  if start_address == other.start_address
    end_address <=> other.end_address
  else
    start_address <=> other.start_address
  end
end