Class: Nanoc::Filters::Asciidoctor

Inherits:
Nanoc::Filter show all
Defined in:
lib/nanoc/filters/asciidoctor.rb

Instance Method Summary collapse

Methods inherited from Nanoc::Filter

always_outdated, define, #depend_on, named!, #output_filename, requires, type

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Nanoc::Int::Context

Instance Method Details

#run(content, params = {}) ⇒ Object



9
10
11
# File 'lib/nanoc/filters/asciidoctor.rb', line 9

def run(content, params = {})
  ::Asciidoctor.render(content, params)
end