Class: Squash::Symbolicator::Line
- Inherits:
-
Struct
- Object
- Struct
- Squash::Symbolicator::Line
- Includes:
- SerialBox
- Defined in:
- lib/squash/symbolicator/lines.rb,
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 Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#file ⇒ Object
Returns the value of attribute file.
-
#line ⇒ Object
Returns the value of attribute line.
-
#start_address ⇒ Object
Returns the value of attribute start_address.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
17 18 19 |
# File 'lib/squash/symbolicator/lines.rb', line 17 def column @column end |
#file ⇒ Object
Returns the value of attribute file
17 18 19 |
# File 'lib/squash/symbolicator/lines.rb', line 17 def file @file end |
#line ⇒ Object
Returns the value of attribute line
17 18 19 |
# File 'lib/squash/symbolicator/lines.rb', line 17 def line @line end |
#start_address ⇒ Object
Returns the value of attribute start_address
17 18 19 |
# File 'lib/squash/symbolicator/lines.rb', line 17 def start_address @start_address end |
Instance Method Details
#<=>(other) ⇒ Object
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 |