Class: Synapse::Easy::FrontendSection
- Inherits:
-
ExtraSection
- Object
- ExtraSection
- Synapse::Easy::FrontendSection
- Defined in:
- lib/synapse/easy/frontend_section.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ FrontendSection
constructor
A new instance of FrontendSection.
Methods inherited from ExtraSection
#each, #label, #section_options, #to_synapse
Constructor Details
#initialize(params = {}) ⇒ FrontendSection
Returns a new instance of FrontendSection.
7 8 9 10 |
# File 'lib/synapse/easy/frontend_section.rb', line 7 def initialize params={} super @type = "frontend" end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/synapse/easy/frontend_section.rb', line 6 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
6 7 8 |
# File 'lib/synapse/easy/frontend_section.rb', line 6 def end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/synapse/easy/frontend_section.rb', line 6 def type @type end |