class Deface::HamlConverter

Public Class Methods

new(template, options = {}) click to toggle source
Calls superclass method
# File lib/deface/haml_converter.rb, line 91
def initialize(template, options = {})
  options[:compiler_class] = Compiler
  options[:parser_class]   = Parser
  super(template, options)
end

Public Instance Methods

result() click to toggle source
# File lib/deface/haml_converter.rb, line 101
def result
  Deface::Parser.undo_erb_markup! String.new(render)
end