Object
# File prettyprint.rb, line 244 def initialize @objs = [] @width = 0 end
# File prettyprint.rb, line 255 def add(obj, width) @objs << obj @width += width end
# File prettyprint.rb, line 250 def output(out, output_width) @objs.each {|obj| out << obj} output_width + @width end
This page was generated for Ruby 1.9.1
Generated with Ruby-doc Rdoc Generator 0.44.0.