|
|
||
--------------------------------------------------------------- Kernel#p p(obj, ...) => nil ------------------------------------------------------------------------ For each object, directly writes _obj_. inspect followed by the current output record separator to the program's standard output. S = Struct.new(:name, :state) s = S['dave', 'TX'] p s _produces:_ #