Sha256: 54b97dedfd2945d49c3fb25bec6402f3db03c67d33a7efc8bbf417bccec71765

Contents?: true

Size: 308 Bytes

Versions: 7

Compression:

Stored size: 308 Bytes

Contents

module Voom
  module Presenters
    module DSL
      module Components
        module Mixins
          module Menus
            def menu(**attributes, &block)
              self << Components::Menu.new(parent: self, **attributes, &block)
            end
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 lib/voom/presenters/dsl/components/mixins/menus.rb
voom-presenters-2.1.0 lib/voom/presenters/dsl/components/mixins/menus.rb
voom-presenters-2.0.3 lib/voom/presenters/dsl/components/mixins/menus.rb
voom-presenters-2.0.2 lib/voom/presenters/dsl/components/mixins/menus.rb
voom-presenters-2.0.1 lib/voom/presenters/dsl/components/mixins/menus.rb
voom-presenters-2.0.0 lib/voom/presenters/dsl/components/mixins/menus.rb
voom-presenters-0.2.0 lib/voom/presenters/dsl/components/mixins/menus.rb