Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Kernel/p-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: For each object, directly writes <em>obj</em>.<tt>inspect</tt> followed by the current output record separator to the program's standard output.
- !ruby/struct:SM::Flow::VERB
body: " S = Struct.new(:name, :state)\n s = S['dave', 'TX']\n p s\n"
- !ruby/struct:SM::Flow::P
body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB
body: " #<S name="dave", state="TX">\n"
full_name: Kernel#p
is_singleton: false
name: p
params: |
p(obj, ...) => nil
visibility: public