Padrino::Helpers::OutputHelpers::HamlHandler
Class: Padrino::Helpers::OutputHelpers::HamlHandler
- Inherits:
- AbstractHandler
- Object
- AbstractHandler
- Padrino::Helpers::OutputHelpers::HamlHandler
Overview
Handler for Haml templates.
Instance Attribute Summary
Attributes inherited from AbstractHandler
Instance Method Summary
-
#capture_from_template(*args, &block) ⇒ Object
Captures the html from a block of template code for this handler. -
#engine_matches?(block) ⇒ Boolean
Returns true if the block is for Haml.
Methods inherited from AbstractHandler
#concat_to_template, #initialize
Constructor Details
This class inherits a constructor from Padrino::Helpers::OutputHelpers::AbstractHandler
Instance Method Details
#capture_from_template(*args, &block) ⇒ Object
Captures the html from a block of template code for this handler.
#engine_matches?(block) ⇒ Boolean
Returns true if the block is for Haml
© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Helpers/OutputHelpers/HamlHandler