Class: Rink::OutputMethod::IO
Instance Attribute Summary collapse
-
#io ⇒ Object
Returns the value of attribute io.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(io) ⇒ IO
constructor
A new instance of IO.
- #output ⇒ Object
- #print(*args) ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(io) ⇒ IO
Returns a new instance of IO.
6 7 8 9 |
# File 'lib/rink/output_method/io.rb', line 6 def initialize(io) super() @io = io end |
Instance Attribute Details
#io ⇒ Object
Returns the value of attribute io.
4 5 6 |
# File 'lib/rink/output_method/io.rb', line 4 def io @io end |