Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more
prints arguments in pretty form.
pp returns argument(s).
# File pp.rb, line 13 def pp(*objs) # :doc: objs.each {|obj| PP.pp(obj) } objs.size <= 1 ? objs.first : objs end
returns a pretty printed object as a string.
# File pp.rb, line 5 def pretty_inspect PP.pp(self, '') end
This page was generated for Ruby 2.0.0
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.0.