mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
13 lines
216 B
Ruby
13 lines
216 B
Ruby
require 'haml'
|
|
|
|
module Hamlit
|
|
class Parser
|
|
def initialize(options = {})
|
|
@options = options
|
|
end
|
|
|
|
def call(template)
|
|
Haml::Parser.new(template, Haml::Options.defaults).parse
|
|
end
|
|
end
|
|
end
|