From c07cc2986cede7abc519a046520d7f41de41c7b0 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Fri, 24 Mar 2017 17:59:49 +0530 Subject: Remove unnecessary ruby version comments [ci skip] --- activesupport/lib/active_support/core_ext/object/duplicable.rb | 4 ++-- 1 file 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 -- cgit v1.2.3