diff options
Diffstat (limited to 'mrblib/file.rb')
| -rw-r--r-- | mrblib/file.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mrblib/file.rb b/mrblib/file.rb index a4fcd3212..5a2716a66 100644 --- a/mrblib/file.rb +++ b/mrblib/file.rb @@ -12,12 +12,6 @@ class File < IO if fd_or_path.kind_of? Fixnum super(fd_or_path, mode) else - if Object.const_defined? :Errno - eclass = [Errno::ENOENT, Errno::ENFILE] - else - eclass = FileError - end - @path = fd_or_path begin fd = IO.sysopen(@path, mode, perm) |
