Type:
Class

Pseudo I/O on String object.

closed_read?
  • References/Ruby on Rails/Ruby/Classes/StringIO

strio.closed_read? â true or false Instance Public methods Returns true

2025-01-10 15:47:30
ungetbyte
  • References/Ruby on Rails/Ruby/Classes/StringIO

strio.ungetbyte(fixnum) â nil Instance Public methods See

2025-01-10 15:47:30
string=
  • References/Ruby on Rails/Ruby/Classes/StringIO

strio.string = string â string Instance Public methods Changes underlying

2025-01-10 15:47:30
readlines
  • References/Ruby on Rails/Ruby/Classes/StringIO

strio.readlines(sep=$/) â arraystrio.readlines(limit) â arraystrio.readlines(sep,limit) â array

2025-01-10 15:47:30
each_char
  • References/Ruby on Rails/Ruby/Classes/StringIO

strio.each_char {|char| block } â striostrio.each_char â anEnumerator Instance Public methods

2025-01-10 15:47:30
sync
  • References/Ruby on Rails/Ruby/Classes/StringIO

strio.sync â true Instance Public methods Returns true always

2025-01-10 15:47:30
write
  • References/Ruby on Rails/Ruby/Classes/StringIO

strio.write(string) â integerstrio.syswrite(string) â integer Instance Public methods

2025-01-10 15:47:30
getbyte
  • References/Ruby on Rails/Ruby/Classes/StringIO

strio.getbyte â fixnum or nil Instance Public methods See

2025-01-10 15:47:30
ungetc
  • References/Ruby on Rails/Ruby/Classes/StringIO

strio.ungetc(string) â nil Instance Public methods Pushes back one character

2025-01-10 15:47:30
getc
  • References/Ruby on Rails/Ruby/Classes/StringIO

strio.getc â string or nil Instance Public methods See

2025-01-10 15:47:30