lib/scout/log.rb in scout-gear-1.1.1 vs lib/scout/log.rb in scout-gear-1.2.0
- old
+ new
@@ -33,10 +33,10 @@
def self.last_caller(stack)
line = nil
pos ||= 0
- while line.nil? or line =~ /scout\/helper\/log\.rb/ and stack.any?
+ while line.nil? or line =~ /scout\/log\.rb/ and stack.any?
line = stack.shift
end
line ||= caller.first
line.gsub('`', "'")
end