Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Struct
/
//opt/alt/ruby27/share/ri/system/Struct/each_pair-i.ri
U:RDoc::AnyMethod[iI"each_pair:ETI"Struct#each_pair;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OYields the name and value of each struct member in order. If no block is ;TI"%given an enumerator is returned.;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"@joe.each_pair {|name, value| puts("#{name} => #{value}") } ;T:@format0o; ; [I"Produces:;T@o;; [I"name => Joe Smith ;TI"&address => 123 Maple, Anytown NC ;TI"zip => 12345;T; 0: @fileI" struct.c;T:0@omit_headings_from_table_of_contents_below0I"ostruct.each_pair {|sym, obj| block } -> struct struct.each_pair -> enumerator ;T0[ I"();T@FI"Struct;TcRDoc::NormalClass00