Class: Zinzout::ZinStdin
- Inherits:
-
Object
- Object
- Zinzout::ZinStdin
- Defined in:
- lib/zinzout.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#io ⇒ Object
readonly
Returns the value of attribute io.
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize ⇒ ZinStdin
constructor
A new instance of ZinStdin.
Constructor Details
#initialize ⇒ ZinStdin
Returns a new instance of ZinStdin.
82 83 84 |
# File 'lib/zinzout.rb', line 82 def initialize @io = STDIN end |
Instance Attribute Details
#io ⇒ Object (readonly)
Returns the value of attribute io.
80 81 82 |
# File 'lib/zinzout.rb', line 80 def io @io end |
Instance Method Details
#close ⇒ Object
86 87 88 |
# File 'lib/zinzout.rb', line 86 def close # no op end |