Class: Rookout::Services::PositionMarker

Inherits:
Object
  • Object
show all
Defined in:
lib/rookout/services/position.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lineno, method) ⇒ PositionMarker

Returns a new instance of PositionMarker.



9
10
11
12
# File 'lib/rookout/services/position.rb', line 9

def initialize lineno, method
  @lineno = lineno
  @method = method
end

Instance Attribute Details

#linenoObject (readonly)

Returns the value of attribute lineno.



14
15
16
# File 'lib/rookout/services/position.rb', line 14

def lineno
  @lineno
end

#methodObject (readonly)

Returns the value of attribute method.



15
16
17
# File 'lib/rookout/services/position.rb', line 15

def method
  @method
end