Method: BOAST::CodeBlock#print

Defined in:
lib/BOAST/Algorithm.rb


759
760
761
762
763
764
765
766
767
768
769
# File 'lib/BOAST/Algorithm.rb', line 759

def print(final=true)
  s=""
  s += " "*BOAST::get_indent_level if final
  BOAST::increment_indent_level
  BOAST::get_output.puts s if final
  if @block then
    s += "\n"
    @block.call
  end
  return s
end