Maintenance of Ruby 2.0.0 will end 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 a service of James Britt and Neurogami, an application development company in Scottsdale, AZ.
Generated with Ruby-doc Rdoc Generator 0.33.0.