Remove non-existent ISO section numbers suffixed with "(x)" [ci skip]

We don't know how we introduced these section references.
Weak memories.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-01-08 21:51:15 +09:00
parent 29fa3d9950
commit 6bc44f8aa8
2 changed files with 0 additions and 8 deletions
-5
View File
@@ -117,11 +117,9 @@ class Array
##
# Return the contents of this array as a string.
#
# ISO 15.2.12.5.31 (x)
def inspect
self._inspect({})
end
# ISO 15.2.12.5.32 (x)
alias to_s inspect
##
@@ -132,7 +130,6 @@ class Array
# of elements and if each element is equal to (according to
# Object.==) the corresponding element in the other array.
#
# ISO 15.2.12.5.33 (x)
def ==(other)
other = self.__ary_eq(other)
return false if other == false
@@ -153,7 +150,6 @@ class Array
# Returns <code>true</code> if +self+ and _other_ are the same object,
# or are both arrays with the same content.
#
# ISO 15.2.12.5.34 (x)
def eql?(other)
other = self.__ary_eq(other)
return false if other == false
@@ -181,7 +177,6 @@ class Array
# the same length and the value of each element is equal to the
# value of the corresponding element in the other array.
#
# ISO 15.2.12.5.36 (x)
def <=>(other)
other = self.__ary_cmp(other)
return 0 if 0 == other
-3
View File
@@ -39,7 +39,6 @@ class Hash
# Returns <code>true</code> if <i>hash</i> and <i>other</i> are
# both hashes with the same content compared by eql?.
#
# ISO 15.2.13.4.32 (x)
def eql?(hash)
return true if self.equal?(hash)
unless Hash === hash
@@ -215,11 +214,9 @@ class Hash
##
# Return the contents of this hash as a string.
#
# ISO 15.2.13.4.30 (x)
def inspect
self._inspect({})
end
# ISO 15.2.13.4.31 (x)
alias to_s inspect
##