Class: Maglev::SectionGenerator::BlockSetting
- Inherits:
-
SectionSetting
- Object
- SectionSetting
- Maglev::SectionGenerator::BlockSetting
- Defined in:
- lib/generators/maglev/section_generator.rb
Instance Attribute Summary collapse
-
#block_type ⇒ Object
readonly
Returns the value of attribute block_type.
Attributes inherited from SectionSetting
Instance Method Summary collapse
-
#initialize(block_type, id, type, label = nil) ⇒ BlockSetting
constructor
A new instance of BlockSetting.
Methods inherited from SectionSetting
Constructor Details
#initialize(block_type, id, type, label = nil) ⇒ BlockSetting
Returns a new instance of BlockSetting.
123 124 125 126 |
# File 'lib/generators/maglev/section_generator.rb', line 123 def initialize(block_type, id, type, label = nil) super(id, type, label) @block_type = block_type end |
Instance Attribute Details
#block_type ⇒ Object (readonly)
Returns the value of attribute block_type.
121 122 123 |
# File 'lib/generators/maglev/section_generator.rb', line 121 def block_type @block_type end |