Class: Squash::Symbolicator::Line

Inherits:
Object
  • Object
show all
Includes:
SerialBox
Defined in:
lib/squash/symbolicator/lines.rb

Overview

An address ranged mapped to a specific line of code, as part of a Lines aggregation. No symbol data is included.

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object

Raises:

  • (ArgumentError)


30
31
32
33
# File 'lib/squash/symbolicator/lines.rb', line 30

def <=>(other)
  raise ArgumentError unless other.kind_of?(Squash::Symbolicator::Line)
  start_address <=> other.start_address
end