Method: Rnp::Output.to_io
- Defined in:
- lib/rnp/output.rb
.to_io(io) ⇒ Output
Create an Output to write to an IO object.
85 86 87 |
# File 'lib/rnp/output.rb', line 85 def self.to_io(io) to_callback(io.method(:write)) end |
Create an Output to write to an IO object.
85 86 87 |
# File 'lib/rnp/output.rb', line 85 def self.to_io(io) to_callback(io.method(:write)) end |