Module: Voom::Presenters::DSL::Components::Mixins::Menus
- Included in:
- Common
- Defined in:
- lib/voom/presenters/dsl/components/mixins/menus.rb
Instance Method Summary collapse
Instance Method Details
#menu(**attributes, &block) ⇒ Object
7 8 9 |
# File 'lib/voom/presenters/dsl/components/mixins/menus.rb', line 7 def (**attributes, &block) self << Components::Menu.new(parent: self, **attributes, &block) end |