Unverified Commit 05f65d2d authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4388 from shuujii/remove-duplicated-include-Comparable-in-mrblib-string.rb

Remove duplicated `include Comparable` in `mrblib/string.rb`
parents 2f6baf60 91604592
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
# #
# ISO 15.2.10 # ISO 15.2.10
class String class String
# ISO 15.2.10.3
include Comparable include Comparable
## ##
# Calls the given block for each line # Calls the given block for each line
# and pass the respective line. # and pass the respective line.
...@@ -265,12 +267,3 @@ class String ...@@ -265,12 +267,3 @@ class String
_regexp(re, :match).match(self, &block) _regexp(re, :match).match(self, &block)
end end
end end
##
# String is comparable
#
# ISO 15.2.10.3
module Comparable; end
class String
include Comparable
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment