Class: Stream
- Inherits:
-
StringIO
- Object
- StringIO
- Stream
- Defined in:
- lib/fluent/stream.rb
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize ⇒ Stream
constructor
A new instance of Stream.
Constructor Details
#initialize ⇒ Stream
Returns a new instance of Stream.
4 5 6 7 |
# File 'lib/fluent/stream.rb', line 4 def initialize(*) super set_encoding "BINARY" end |
Instance Method Details
#close ⇒ Object
9 10 11 |
# File 'lib/fluent/stream.rb', line 9 def close rewind; end |