class Jekyll::HamlConverter
Public Instance Methods
convert(content)
click to toggle source
# File lib/jekyll-haml-improved.rb, line 20 def convert(content) ::Haml::Engine.new(content).render end
matches(ext)
click to toggle source
# File lib/jekyll-haml-improved.rb, line 12 def matches(ext) ext =~ /haml/i end
output_ext(ext)
click to toggle source
# File lib/jekyll-haml-improved.rb, line 16 def output_ext(ext) ".html" end