class Padrino::Helpers::OutputHelpers::HamlHandler
Handler for Haml templates.
#
def capture_from_template(*args, &block)
Captures the html from a block of template code for this handler.
#
def capture_from_template(*args, &block) engine_matches?(block) ? template.capture_haml(*args, &block) : yield(*args) end
def engine_matches?(block)
Returns true if the block is for Haml
#
def engine_matches?(block) template.block_is_haml?(block) end