Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more
Object
# File prettyprint.rb, line 260 def initialize @objs = [] @width = 0 end
# File prettyprint.rb, line 271 def add(obj, width) @objs << obj @width += width end
# File prettyprint.rb, line 266 def output(out, output_width) @objs.each {|obj| out << obj} output_width + @width 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.