%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/String/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/String/to_sym-i.ri

U:RDoc::AnyMethod[iI"to_sym:ETI"String#to_sym;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"OReturns the <code>Symbol</code> corresponding to <i>str</i>, creating the ;FI"Lsymbol if it did not previously exist. See <code>Symbol#id2name</code>.;Fo:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[
I"'"Koala".intern         #=> :Koala
;TI"%s = 'cat'.to_sym       #=> :cat
;TI"%s == :cat              #=> true
;TI"&s = '@cat'.to_sym      #=> :@cat
;TI"%s == :@cat             #=> true
;T:@format0o;
;	[I"RThis can also be used to create symbols that cannot be represented using the ;FI" <code>:xxx</code> notation.;F@o;;	[I".'cat and dog'.to_sym   #=> :"cat and dog";T;
0:
@fileI"
string.c;T:0@omit_headings_from_table_of_contents_below0I"str.to_sym   -> symbol;F0[I"();T@FI"String;TcRDoc::NormalClassI"
scanf;T0

Zerion Mini Shell 1.0