Class: Voom::Presenters::DSL::Components::Menu::Divider
- Defined in:
- lib/voom/presenters/dsl/components/menu.rb
Instance Attribute Summary
Attributes inherited from Base
#attributes, #context, #id, #type
Instance Method Summary collapse
-
#initialize(**attribs, &block) ⇒ Divider
constructor
A new instance of Divider.
Methods inherited from Base
Methods included from Voom::Presenters::DSL::Components::Mixins::YieldTo
Methods included from Serializer
Methods included from Lockable
Constructor Details
#initialize(**attribs, &block) ⇒ Divider
Returns a new instance of Divider.
57 58 59 |
# File 'lib/voom/presenters/dsl/components/menu.rb', line 57 def initialize(**attribs, &block) super(type: :divider, **attribs, &block) end |