Class: Jekyll::ElmConverter
- Inherits:
-
Converter
- Object
- Converter
- Jekyll::ElmConverter
- Defined in:
- lib/jekyll_elm.rb
Instance Method Summary collapse
Instance Method Details
#convert(content) ⇒ Object
15 16 17 |
# File 'lib/jekyll_elm.rb', line 15 def convert(content) ElmCompiler.new(content).process! end |
#matches(ext) ⇒ Object
7 8 9 |
# File 'lib/jekyll_elm.rb', line 7 def matches(ext) ext =~ /^\.elm$/i end |
#output_ext(ext) ⇒ Object
11 12 13 |
# File 'lib/jekyll_elm.rb', line 11 def output_ext(ext) '.html' end |