# File lib/rhc/helpers.rb, line 329 def section(params={}, &block) top = params[:top] || 0 bottom = params[:bottom] || 0 # the first section cannot take a newline top = 0 unless @@margin @@margin = [top, @@margin || 0].max value = block.call say "\n" if @@last_line_open @@margin = [bottom, @@margin].max value end