Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
prints arguments in pretty form.
pp returns argument(s).
# File pp.rb, line 58 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 50 def pretty_inspect PP.pp(self, '') end
This page was generated for Ruby 1.9.2
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.