aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/duration.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 16:01:28 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 16:20:18 -0300
commit02a48fb83c6aff2c9fc82e962286212ba26a91c5 (patch)
treee719ba93673bd787d58cfb29a59739a3fda9d1d8 /activesupport/lib/active_support/duration.rb
parent758e223c45fdd41bdb397e3830553d13686c8dc1 (diff)
downloadrails-02a48fb83c6aff2c9fc82e962286212ba26a91c5.tar.gz
rails-02a48fb83c6aff2c9fc82e962286212ba26a91c5.tar.bz2
rails-02a48fb83c6aff2c9fc82e962286212ba26a91c5.zip
Remove workaround to a Ruby 2.0.0 bug
Diffstat (limited to 'activesupport/lib/active_support/duration.rb')
-rw-r--r--activesupport/lib/active_support/duration.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activesupport/lib/active_support/duration.rb b/activesupport/lib/active_support/duration.rb
index bcb415f6d3..2818b8d68b 100644
--- a/activesupport/lib/active_support/duration.rb
+++ b/activesupport/lib/active_support/duration.rb
@@ -122,13 +122,6 @@ module ActiveSupport
private
- # We define it as a workaround to Ruby 2.0.0-p353 bug.
- # For more information, check rails/rails#13055.
- # Remove it when we drop support for 2.0.0-p353.
- def ===(other) #:nodoc:
- value === other
- end
-
def method_missing(method, *args, &block) #:nodoc:
value.send(method, *args, &block)
end