Class: IO
- Inherits:
-
Object
- Object
- IO
- Defined in:
- lib/rest_debug/ext.rb
Instance Method Summary collapse
Instance Method Details
#read_available ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/rest_debug/ext.rb', line 2 def read_available res = "" while ready? res << read(1) end res end |