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



7
8
9
# File 'lib/voom/presenters/dsl/components/mixins/menus.rb', line 7

def menu(**attributes, &block)
  self << Components::Menu.new(parent: self, **attributes, &block)
end