diff --git a/mrblib/array.rb b/mrblib/array.rb index f3d121d78..af3c17cb6 100644 --- a/mrblib/array.rb +++ b/mrblib/array.rb @@ -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 true 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 diff --git a/mrblib/hash.rb b/mrblib/hash.rb index 85dc9778c..bfec4c2a3 100644 --- a/mrblib/hash.rb +++ b/mrblib/hash.rb @@ -39,7 +39,6 @@ class Hash # Returns true if hash and other 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 ##