diff options
Diffstat (limited to 'lib/rainbows/ev_core')
-rw-r--r-- | lib/rainbows/ev_core/cap_input.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/ev_core/cap_input.rb b/lib/rainbows/ev_core/cap_input.rb index 4865da4..06887d5 100644 --- a/lib/rainbows/ev_core/cap_input.rb +++ b/lib/rainbows/ev_core/cap_input.rb @@ -15,7 +15,7 @@ class Rainbows::EvCore::CapInput end def gets; @io.gets; end - def each(&block); @io.each(&block); end + def each; @io.each { |x| yield x }; end def size; @io.size; end def rewind; @io.rewind; end def read(*args); @io.read(*args); end |