diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-01-07 16:43:25 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-01-07 16:43:25 -0800 |
commit | ee85f154534b3e511de810050dd4513402c16a28 (patch) | |
tree | ced8e2e8471f339d603b0e1a5c71759e628c291c /activesupport | |
parent | 4300f945330d885665c84f076182d9650a1a0867 (diff) | |
download | rails-ee85f154534b3e511de810050dd4513402c16a28.tar.gz rails-ee85f154534b3e511de810050dd4513402c16a28.tar.bz2 rails-ee85f154534b3e511de810050dd4513402c16a28.zip |
Qualify constant lookup in BasicObject
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/duration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/duration.rb b/activesupport/lib/active_support/duration.rb index 887a40d35e..db5afb5324 100644 --- a/activesupport/lib/active_support/duration.rb +++ b/activesupport/lib/active_support/duration.rb @@ -51,7 +51,7 @@ module ActiveSupport def self.===(other) #:nodoc: other.is_a?(Duration) - rescue NoMethodError + rescue ::NoMethodError false end |