From 86d58a2d3727f556e6e6ce10d170b6170911a263 Mon Sep 17 00:00:00 2001 From: Tomoyuki Sahara Date: Fri, 10 Feb 2017 11:22:52 +0900 Subject: File class does not have to include Enumerable. Because IO class, which is the superclass of File class, includes it. --- mrblib/file.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'mrblib') 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 -- cgit v1.2.3