Class: ODDB::Import::RtfReader
- Defined in:
- lib/oddb/import/rtf.rb
Constant Summary
Constants inherited from RTFReader
RTFReader::TOKEN_CONTROL, RTFReader::TOKEN_EOF, RTFReader::TOKEN_GROUP, RTFReader::TOKEN_TEXT
Instance Method Summary collapse
Methods inherited from RTFReader
Constructor Details
This class inherits a constructor from RTFReader
Instance Method Details
#_read_char ⇒ Object
17 18 19 20 21 22 |
# File 'lib/oddb/import/rtf.rb', line 17 def _read_char if @buffer.empty? && (x = @bufferstring.read(100)) @buffer = x.split(//) end @buffer.shift end |