diff options
| author | Tomoyuki Sahara <[email protected]> | 2014-12-26 11:09:07 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2014-12-26 11:09:07 +0900 |
| commit | 3a97a453c486cd1ce9456970b686ab24f8126980 (patch) | |
| tree | 3c005935d7ccf7455791c685698916863b0e5047 /mrblib | |
| parent | c455544ee28e440f371c4f758f2b31ee69ec0877 (diff) | |
| download | mruby-3a97a453c486cd1ce9456970b686ab24f8126980.tar.gz mruby-3a97a453c486cd1ce9456970b686ab24f8126980.zip | |
rewrite IO.for_fd.
IO.for_fd should call IO#initialize to initialize the created object
properly. It cannot be implemented in Ruby.
Diffstat (limited to 'mrblib')
| -rw-r--r-- | mrblib/io.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mrblib/io.rb b/mrblib/io.rb index be715ba7a..c838b96e5 100644 --- a/mrblib/io.rb +++ b/mrblib/io.rb @@ -11,10 +11,6 @@ class IO BUF_SIZE = 4096 - def self.for_fd *args - self.new(*args) - end - def self.open(*args, &block) io = self.new(*args) |
