Module: Coradoc::Output::Adoc
- Defined in:
- lib/coradoc/output/adoc.rb
Class Method Summary collapse
- .processor_execute(input, _options = {}) ⇒ Object
- .processor_id ⇒ Object
- .processor_match?(filename) ⇒ Boolean
Class Method Details
.processor_execute(input, _options = {}) ⇒ Object
11 12 13 |
# File 'lib/coradoc/output/adoc.rb', line 11 def self.processor_execute(input, = {}) input.transform_values { |i| Coradoc::Generator.gen_adoc(i) } end |
.processor_id ⇒ Object
3 4 5 |
# File 'lib/coradoc/output/adoc.rb', line 3 def self.processor_id :adoc end |
.processor_match?(filename) ⇒ Boolean
7 8 9 |
# File 'lib/coradoc/output/adoc.rb', line 7 def self.processor_match?(filename) %w[.adoc].any? { |i| filename.downcase.end_with?(i) } end |