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 a service of James Britt and Neurogami, an avant garage application development company in Scottsdale, AZ.
Generated with the Rubydoc Rdoc Generator 0.9.3.