D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Struct
/
Filename :
to_a-i.ri
back
Copy
U:RDoc::AnyMethod[iI" to_a:ETI"Struct#to_a;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I".Returns the values in +self+ as an array:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"2Customer = Struct.new(:name, :address, :zip) ;TI"Ejoe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) ;TI"Ajoe.to_a # => ["Joe Smith", "123 Maple, Anytown NC", 12345] ;T:@format0o; ; [I"Related: #members.;T: @fileI" struct.c;T:0@omit_headings_from_table_of_contents_below0I"to_a -> array ;T0[[I"values;T@ [I"deconstruct;T@ I"();T@FI"Struct;TcRDoc::NormalClass00