Class: Jekyll::Converters::Haml
- Inherits:
-
Converter
- Object
- Converter
- Jekyll::Converters::Haml
- Defined in:
- lib/jekyll/haml/markup/converter.rb
Overview
haml converter
Instance Method Summary collapse
Instance Method Details
#convert(content) ⇒ Object
15 16 17 |
# File 'lib/jekyll/haml/markup/converter.rb', line 15 def convert(content) Jekyll::Haml::Parser.compile content end |
#matches(ext) ⇒ Object
7 8 9 |
# File 'lib/jekyll/haml/markup/converter.rb', line 7 def matches(ext) Jekyll::Haml::Parser.matches ext end |
#output_ext(_ext) ⇒ Object
11 12 13 |
# File 'lib/jekyll/haml/markup/converter.rb', line 11 def output_ext(_ext) '.html' end |