lib/tracing.rb in tracing-2.0.1 vs lib/tracing.rb in tracing-2.0.2
- old
+ new
@@ -187,10 +187,10 @@
alias_method :firstaid_initialize, :initialize
def initialize *args, &b
send(:firstaid_initialize, *args, &b)
return if NoMethodError === self && message =~ /^undefined method `to_ary' for \#<Gem::Specification/
- return if LoadError == self
+ return if LoadError === self
puts "Stopped due to #{self.class}: #{message} at "+caller*"\n\t"
debugger
true # Stopped in Exception constructor
end
end