Class: Synapse::Easy::FrontendSection

Inherits:
ExtraSection show all
Defined in:
lib/synapse/easy/frontend_section.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/synapse/easy/frontend_section.rb', line 6

def name
  @name
end

#optionsObject

Returns the value of attribute options.



6
7
8
# File 'lib/synapse/easy/frontend_section.rb', line 6

def options
  @options
end

#typeObject

Returns the value of attribute type.



6
7
8
# File 'lib/synapse/easy/frontend_section.rb', line 6

def type
  @type
end