Class: Marko::Tasks::Compile

Inherits:
Object
  • Object
show all
Defined in:
lib/marko/tasks/compile.rb

Overview

Compile tree into markup

Instance Method Summary collapse

Instance Method Details

#call(topic) ⇒ String

Parameters:

Returns:



13
14
15
# File 'lib/marko/tasks/compile.rb', line 13

def call(topic)
  Renderers::Artifact.new.render(topic)
end