Class: Voom::Presenters::DSL::Components::Menu::Divider

Inherits:
Base
  • Object
show all
Defined in:
lib/voom/presenters/dsl/components/menu.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #context, #id, #type

Instance Method Summary collapse

Methods inherited from Base

#expand!

Methods included from Voom::Presenters::DSL::Components::Mixins::YieldTo

#yield_to

Methods included from Serializer

#to_hash

Methods included from Lockable

#lock!, #locked?

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