Sha256: 57d35a04171e87b3c1b2347ed7e2f159c43b2de5a921dcd4a0f7fafa480ba742

Contents?: true

Size: 561 Bytes

Versions: 4

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Menus

    # Allows the storing of menus by name.
    #
    class Repository < Vedeu::Repositories::Repository

      singleton_class.send(:alias_method, :menus, :repository)

      real Vedeu::Menus::Menu
      null Vedeu::Menus::Menu

    end # Repository

  end # Menus

  # Manipulate the repository of menus.
  #
  # @example
  #   Vedeu.menus
  #
  # @api public
  # @!method menus
  # @return [Vedeu::Menus::Repository]
  def_delegators Vedeu::Menus::Repository,
                 :menus

end # Vedeu

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vedeu-0.8.20 lib/vedeu/menus/repository.rb
vedeu-0.8.19 lib/vedeu/menus/repository.rb
vedeu-0.8.18 lib/vedeu/menus/repository.rb
vedeu-0.8.17 lib/vedeu/menus/repository.rb