Sha256: ce7959d089ca578c14a0a5653717cbd551be2a36a7620ce048b04158fc1aa9c5

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

module DynamicMenu
  class Base
    def get_menu_links
      @links
    end
    private

    def define_menu_links(args)
      if @links.nil?
      @links = args
      else
      @links.merge(args)
      end
      return @links
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dynamic_menu-3.0.0.pre1 lib/dynamic_menu/base.rb