class Padrino::Helpers::OutputHelpers::HamlitHandler
Handler for Haml templates.
#
def engine_matches?(block)
Returns true if the block is for Hamlit.
#
def engine_matches?(block) block.binding.eval('defined? __in_hamlit_template') end
Handler for Haml templates.
#
def engine_matches?(block) block.binding.eval('defined? __in_hamlit_template') end