Class: ExpressTemplates::Components::Row

Inherits:
Container show all
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

#handlers, #locals, #stack

Method Summary

Methods included from Capabilities::Configurable

included

Methods included from Capabilities::Parenting

included

Methods inherited from Base

inherited

Methods included from Capabilities::Iterating

included

Methods included from Capabilities::Wrapping

included

Methods included from Capabilities::Rendering

included

Methods included from Capabilities::Templating

included

Methods included from Macro

included

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