Module: HamdownCore::Compiler

Defined in:
lib/hamdown_core/compiler.rb

Class Method Summary collapse

Class Method Details

.call(ast_root) ⇒ Object



6
7
8
9
10
# File 'lib/hamdown_core/compiler.rb', line 6

def call(ast_root)
  strings = []
  strings = render_strings(ast_root.children, 0)
  strings.join("\n")
end