class Markaby::Rails::TemplateHandler

def call(template, source = template.source)

def call(template, source = template.source)
  <<-CODE
    Markaby::Builder.new(Markaby::Rails::TemplateHandler.options, self) do
      #{source}
    end.to_s
  CODE
end

def options

def options
  @options ||= {}
end

def options=(val)

def options=(val)
  options.merge!(val)
  options
end

def register!(options = {})

def register!(options = {})
  self.options = options
  ActionView::Template.register_template_handler(:mab, new)
end