Qualify constant lookup in BasicObject

This commit is contained in:
Jeremy Kemper
2010-01-07 16:43:25 -08:00
parent 4300f94533
commit ee85f15453

View File

@@ -51,7 +51,7 @@ module ActiveSupport
def self.===(other) #:nodoc:
other.is_a?(Duration)
rescue NoMethodError
rescue ::NoMethodError
false
end