class Padrino::Helpers::OutputHelpers::HamlitHandler

Handler for Haml templates.

Public Instance Methods

engine_matches?(block) click to toggle source

Returns true if the block is for Hamlit.

# File lib/padrino-helpers/output_helpers/haml_handler.rb, line 33
def engine_matches?(block)
  block.binding.eval('defined? __in_hamlit_template')
end