D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Kernel
/
Filename :
y-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prints any supplied <em>objects</em> out in YAML. Intended as a variation on +Kernel::p+. - !ruby/struct:SM::Flow::VERB body: " S = Struct.new(:name, :state)\n s = S['dave', 'TX']\n y s\n" - !ruby/struct:SM::Flow::P body: _produces:_ - !ruby/struct:SM::Flow::VERB body: " --- !ruby/struct:S\n name: dave\n state: TX\n" full_name: Kernel#y is_singleton: false name: y params: ( object, *objects ) visibility: private