Permalink
Browse files

Qualify constant lookup in BasicObject

  • Loading branch information...
1 parent 4300f94 commit ee85f154534b3e511de810050dd4513402c16a28 @jeremy jeremy committed Jan 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/duration.rb
@@ -51,7 +51,7 @@ def ==(other)
def self.===(other) #:nodoc:
other.is_a?(Duration)
- rescue NoMethodError
+ rescue ::NoMethodError
false
end

0 comments on commit ee85f15

Please sign in to comment.