U:RDoc::AnyMethod[iI"[]:ETI"Struct#[];TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"MAttribute Reference---Returns the value of the given struct +member+ or ;TI"Nthe member at the given +index+. Raises NameError if the +member+ does ;TI"=not exist and IndexError if the +index+ is out of range.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"2Customer = Struct.new(:name, :address, :zip) ;TI"Ejoe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) ;TI" ;TI"#joe["name"] #=> "Joe Smith" ;TI"#joe[:name] #=> "Joe Smith" ;TI""joe[0] #=> "Joe Smith";T: @format0: @fileI" struct.c;T:0@omit_headings_from_table_of_contents_below0I";struct[member] -> object struct[index] -> object ;T0[I" (p1);T@FI" Struct;TcRDoc::NormalClass00