Class: AppMap::RSpec::BlockParseNode
Overview
Instance Attribute Summary
#ancestors, #file_path, #node
Instance Method Summary
collapse
Methods inherited from ParseNode
from_node
Instance Method Details
#first_line ⇒ Object
32
33
34
|
# File 'lib/appmap/rspec/parse_node.rb', line 32
def first_line
node.location.first_line
end
|
#last_line ⇒ Object
36
37
38
|
# File 'lib/appmap/rspec/parse_node.rb', line 36
def last_line
node.location.last_line
end
|
#to_s ⇒ Object
28
29
30
|
# File 'lib/appmap/rspec/parse_node.rb', line 28
def to_s
"RSpec block at #{file_path} #{first_line}:#{last_line}"
end
|