diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-04-19 10:44:14 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-04-19 10:44:14 +0900 |
| commit | 05f65d2d429fcc5ff6bf5f2f8729fcb5de63b2ca (patch) | |
| tree | 582d2a57f7ad1a71f22f931a4e21ef345f269005 | |
| parent | 2f6baf60e957711a85dfdd05725fa946d274b09d (diff) | |
| parent | 916045921e629b59264a6f1e00e2347e64ef85cb (diff) | |
| download | mruby-05f65d2d429fcc5ff6bf5f2f8729fcb5de63b2ca.tar.gz mruby-05f65d2d429fcc5ff6bf5f2f8729fcb5de63b2ca.zip | |
Merge pull request #4388 from shuujii/remove-duplicated-include-Comparable-in-mrblib-string.rb
Remove duplicated `include Comparable` in `mrblib/string.rb`
| -rw-r--r-- | mrblib/string.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/mrblib/string.rb b/mrblib/string.rb index 62c925885..9ad8e8e73 100644 --- a/mrblib/string.rb +++ b/mrblib/string.rb @@ -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 |
