Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. 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.3
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.44.0.