aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-03-24 17:59:49 +0530
committerVipul A M <vipulnsward@gmail.com>2017-03-24 17:59:49 +0530
commitc07cc2986cede7abc519a046520d7f41de41c7b0 (patch)
tree66335dcc5824fda7714d1f8b8d3096bff7f91663 /activesupport
parent2f3e12b8237c4b3527b6fea6da0c819fb4c80cf1 (diff)
downloadrails-c07cc2986cede7abc519a046520d7f41de41c7b0.tar.gz
rails-c07cc2986cede7abc519a046520d7f41de41c7b0.tar.bz2
rails-c07cc2986cede7abc519a046520d7f41de41c7b0.zip
Remove unnecessary ruby version comments [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/object/duplicable.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/duplicable.rb b/activesupport/lib/active_support/core_ext/object/duplicable.rb
index c27fd4f792..953bd3fb1b 100644
--- a/activesupport/lib/active_support/core_ext/object/duplicable.rb
+++ b/activesupport/lib/active_support/core_ext/object/duplicable.rb
@@ -128,7 +128,7 @@ class Complex
Complex(1).dup
rescue TypeError
- # Complexes are not duplicable for RUBY_VERSION < 2.5.0:
+ # Complexes are not duplicable:
#
# Complex(1).duplicable? # => false
# Complex(1).dup # => TypeError: can't copy Complex
@@ -143,7 +143,7 @@ class Rational
Rational(1).dup
rescue TypeError
- # Rationals are not duplicable for RUBY_VERSION < 2.5.0:
+ # Rationals are not duplicable:
#
# Rational(1).duplicable? # => false
# Rational(1).dup # => TypeError: can't copy Rational