diff options
| author | Tomoyuki Sahara <[email protected]> | 2017-02-10 11:22:52 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2017-02-10 11:22:52 +0900 |
| commit | 86d58a2d3727f556e6e6ce10d170b6170911a263 (patch) | |
| tree | 075eff07cadf1a9907f888430e6511c9d0a6fa98 | |
| parent | caab1c203cc996c521fc7115aab0991e1e53e05c (diff) | |
| download | mruby-86d58a2d3727f556e6e6ce10d170b6170911a263.tar.gz mruby-86d58a2d3727f556e6e6ce10d170b6170911a263.zip | |
File class does not have to include Enumerable.
Because IO class, which is the superclass of File class, includes it.
| -rw-r--r-- | mrblib/file.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mrblib/file.rb b/mrblib/file.rb index f84bd0ed3..514efc1c6 100644 --- a/mrblib/file.rb +++ b/mrblib/file.rb @@ -1,6 +1,4 @@ class File < IO - include Enumerable - class FileError < Exception; end class NoFileError < FileError; end class UnableToStat < FileError; end |
