Class: ExpressTemplates::Components::Row
- Includes:
- Capabilities::Configurable
- Defined in:
- lib/express_templates/components/row.rb
Overview
A Row is a Container implemented as a div with a CSS class “row”
An optional dom ID may be specified as a symbol.
Example:
row(:main) {
p "Some content"
}
This will render as:
<div id="main" class="row"><p>Some content</p></div>
Instance Attribute Summary
Attributes inherited from Expander
Method Summary
Methods included from Capabilities::Configurable
Methods included from Capabilities::Parenting
Methods inherited from Base
Methods included from Capabilities::Iterating
Methods included from Capabilities::Wrapping
Methods included from Capabilities::Rendering
Methods included from Capabilities::Templating
Methods included from Macro
Methods inherited from Expander
#expand, #initialize, #initialize_expander, #method_missing, #process_children!, register_macros_for
Constructor Details
This class inherits a constructor from ExpressTemplates::Expander
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ExpressTemplates::Expander