Object
# File prettyprint.rb, line 242 def initialize @objs = [] @width = 0 end
# File prettyprint.rb, line 253 def add(obj, width) @objs << obj @width += width end
# File prettyprint.rb, line 248 def output(out, output_width) @objs.each {|obj| out << obj} output_width + @width 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.