Remove unnecessary ruby version comments [ci skip]
This commit is contained in:
parent
2f3e12b823
commit
c07cc2986c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user