Method: StringInput#read_all
- Defined in:
- lib/extensions/crypt/crypt/stringio.rb
#read_all ⇒ Object
161 162 163 164 165 166 167 |
# File 'lib/extensions/crypt/crypt/stringio.rb', line 161 def read_all stream_check! return nil if eof? rest = @src[@pos ... @src.size] @pos = @src.size + 1 rest end |