Class: Arrolio::LayoutSpec::Flow
- Inherits:
-
Struct
- Object
- Struct
- Arrolio::LayoutSpec::Flow
- Defined in:
- lib/arrolio/layout_spec/flow.rb
Overview
Declares a named content flow into a region. Declarative only — Engine::Paged takes a flat Flowable list and a body template today.
Instance Attribute Summary collapse
-
#default_style_id ⇒ Object
Returns the value of attribute default_style_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#region ⇒ Object
Returns the value of attribute region.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize ⇒ Flow
constructor
A new instance of Flow.
Constructor Details
#initialize ⇒ Flow
Returns a new instance of Flow.
10 11 12 13 14 |
# File 'lib/arrolio/layout_spec/flow.rb', line 10 def initialize(*) super self.name = self.name.to_sym if self.name freeze end |
Instance Attribute Details
#default_style_id ⇒ Object
Returns the value of attribute default_style_id
8 9 10 |
# File 'lib/arrolio/layout_spec/flow.rb', line 8 def default_style_id @default_style_id end |
#name ⇒ Object
Returns the value of attribute name
8 9 10 |
# File 'lib/arrolio/layout_spec/flow.rb', line 8 def name @name end |
#region ⇒ Object
Returns the value of attribute region
8 9 10 |
# File 'lib/arrolio/layout_spec/flow.rb', line 8 def region @region end |
#source ⇒ Object
Returns the value of attribute source
8 9 10 |
# File 'lib/arrolio/layout_spec/flow.rb', line 8 def source @source end |