aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-23 14:56:11 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-23 14:56:11 -0300
commit0735f8e6ae4031377fc63c9582b82f50a250167e (patch)
tree1fa289818d1e44c145f3a7a9e927c25f1c7be8cc
parenta8931bd1f83d65d29ef33a8327ab0ca176c4ac30 (diff)
parent8ae3ed3f6cd6ead9759522d9d7ef37aac5bda92d (diff)
downloadrails-0735f8e6ae4031377fc63c9582b82f50a250167e.tar.gz
rails-0735f8e6ae4031377fc63c9582b82f50a250167e.tar.bz2
rails-0735f8e6ae4031377fc63c9582b82f50a250167e.zip
Merge pull request #15279 from akshay-vishnoi/remove#===
[ci skip] Remove Duration#=== when we drop support for 2.0.0-p353
-rw-r--r--activesupport/lib/active_support/duration.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/duration.rb b/activesupport/lib/active_support/duration.rb
index 09eb732ef7..0ae641d05b 100644
--- a/activesupport/lib/active_support/duration.rb
+++ b/activesupport/lib/active_support/duration.rb
@@ -105,8 +105,7 @@ module ActiveSupport
# We define it as a workaround to Ruby 2.0.0-p353 bug.
# For more information, check rails/rails#13055.
- # It should be dropped once a new Ruby patch-level
- # release after 2.0.0-p353 happens.
+ # Remove it when we drop support for 2.0.0-p353.
def ===(other) #:nodoc:
value === other
end