lib/poolparty/helpers/binary.rb
# Helper to print with the nice printer
Helper to print with the nice printer
Helper to print with the nice printer
def print_with_nice_printer(header=nil, strs=[], &block)
    printer = NicePrinter.new
    printer.header
    printer.center(header) if header
    yield(printer)
    strs.each {|st| printer << st if st}
    printer.footer
    printer.print
  end
def print_with_nice_printer ( header = nil , strs = [ ] , & block ) printer = NicePrinter . new printer . header printer . center ( header ) if header yield ( printer ) strs . each { | st | printer << st if st } printer . footer printer . print end
Helper to print with the nice printer
Helper to print with the nice printer
header
strs
block