mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Qualify constant lookup in BasicObject
This commit is contained in:
@@ -51,7 +51,7 @@ module ActiveSupport
|
||||
|
||||
def self.===(other) #:nodoc:
|
||||
other.is_a?(Duration)
|
||||
rescue NoMethodError
|
||||
rescue ::NoMethodError
|
||||
false
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user