Class: Tickly::Parser::R
- Inherits:
-
Struct
- Object
- Struct
- Tickly::Parser::R
- Defined in:
- lib/tickly/parser.rb
Overview
Used as an IO wrapper, similar to what Bychar has.
Instance Attribute Summary collapse
-
#io ⇒ Object
Returns the value of attribute io.
Instance Method Summary collapse
Instance Attribute Details
#io ⇒ Object
Returns the value of attribute io
8 9 10 |
# File 'lib/tickly/parser.rb', line 8 def io @io end |
Instance Method Details
#read_one_char ⇒ Object
9 |
# File 'lib/tickly/parser.rb', line 9 def read_one_char; io.read(1); end |