diff options
author | Vipul A M <vipulnsward@gmail.com> | 2017-03-24 18:00:50 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 18:00:50 +0530 |
commit | 07dfd808b614f3e888261cff245afc1a07be321b (patch) | |
tree | 66335dcc5824fda7714d1f8b8d3096bff7f91663 | |
parent | 2f3e12b8237c4b3527b6fea6da0c819fb4c80cf1 (diff) | |
parent | c07cc2986cede7abc519a046520d7f41de41c7b0 (diff) | |
download | rails-07dfd808b614f3e888261cff245afc1a07be321b.tar.gz rails-07dfd808b614f3e888261cff245afc1a07be321b.tar.bz2 rails-07dfd808b614f3e888261cff245afc1a07be321b.zip |
Merge pull request #28555 from vipulnsward/rm-comments
Remove unnecessary ruby version comments
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/duplicable.rb | 4 |
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 |