Remove duplicated include Comparable in mrblib/string.rb

This commit is contained in:
KOBAYASHI Shuji
2019-04-18 19:58:05 +09:00
parent 77c42988c8
commit 916045921e
+2 -9
View File
@@ -3,7 +3,9 @@
#
# ISO 15.2.10
class String
# ISO 15.2.10.3
include Comparable
##
# Calls the given block for each line
# and pass the respective line.
@@ -265,12 +267,3 @@ class String
_regexp(re, :match).match(self, &block)
end
end
##
# String is comparable
#
# ISO 15.2.10.3
module Comparable; end
class String
include Comparable
end