Maintenance of Ruby 2.0.0 ended on February 24, 2016. 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 2.0.0
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.0.