4 5 6
# File 'lib/rbtags/formats/extended/instance.rb', line 4 def initialize(trace) @file = RbTags::File.new(*%r{\A(.*):(\d+)\z}.match(trace.find{ |line| line !~ %r{\A(.*):(\d+):in .*\z} })[1..2]) end
Returns:
8 9 10
# File 'lib/rbtags/formats/extended/instance.rb', line 8 def reject? @file.name.start_with? RbTags.path end