Pseudo I/O on String object.
lines(*args) Instance Public methods This is a deprecated alias for each_line
strio.each_byte {|byte| block } â striostrio.each_byte â anEnumerator Instance Public methods
strio.lineno = integer â integer Instance Public methods Manually sets the
strio.string â string Instance Public methods Returns underlying String
strio.truncate(integer) â 0 Instance Public methods Truncates the buffer
strio.gets(sep=$/) â string or nilstrio.gets(limit) â string or nilstrio.gets(sep, limit) â string or nil
strio.pos â integerstrio.tell â integer Instance Public methods Returns
strio.size â integer Instance Public methods Returns the size of the buffer
strio.close â nil Instance Public methods Closes strio. The strio
strio.internal_encoding => encoding Instance Public methods Returns the
Page 5 of 6