D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
StringIO
/
Filename :
new-c.ri
back
Copy
U:RDoc::AnyMethod[iI"new:ETI"StringIO::new;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"ENote that +mode+ defaults to <tt>'r'</tt> if +string+ is frozen.;To:RDoc::Markup::BlankLine o; ; [I"GReturns a new \StringIO instance formed from +string+ and +mode+; ;TI"4see {Access Modes}[rdoc-ref:File@Access+Modes]:;T@o:RDoc::Markup::Verbatim; [I"+strio = StringIO.new # => #<StringIO> ;TI"strio.close ;T:@format0o; ; [I"9The instance should be closed when no longer needed.;T@o; ; [I"BRelated: StringIO.open (accepts block; closes automatically).;T: @fileI"ext/stringio/stringio.c;T:0@omit_headings_from_table_of_contents_below0I"<StringIO.new(string = '', mode = 'r+') -> new_stringio ;T0[ I"(*args);T@FI" StringIO;TcRDoc::NormalClass00