Parent

Methods

Haml::Temple::Parser

Public Class Methods

new(*args) click to toggle source
# File lib/haml/temple.rb, line 42
def initialize(*args)
  @options = Options.new
end

Public Instance Methods

call(haml) click to toggle source
# File lib/haml/temple.rb, line 46
def call(haml)
  parser = ::Haml::Parser.new(haml, @options)
  tree = parser.parse.tap {|x| p x; puts '-' * 10}
  compile(tree).tap {|x| p x; puts '-' * 10}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.