Sha256: 00005191dfddc27a41cce8350bb13dd4a954b91bfcdd5a6b8ee501f5debc5a9b

Contents?: true

Size: 497 Bytes

Versions: 9

Compression:

Stored size: 497 Bytes

Contents

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::Null

    end # Repository

  end # Menus

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

end # Vedeu

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vedeu-0.6.29 lib/vedeu/menus/repository.rb
vedeu-0.6.28 lib/vedeu/menus/repository.rb
vedeu-0.6.27 lib/vedeu/menus/repository.rb
vedeu-0.6.26 lib/vedeu/menus/repository.rb
vedeu-0.6.25 lib/vedeu/menus/repository.rb
vedeu-0.6.24 lib/vedeu/menus/repository.rb
vedeu-0.6.23 lib/vedeu/menus/repository.rb
vedeu-0.6.22 lib/vedeu/menus/repository.rb
vedeu-0.6.21 lib/vedeu/menus/repository.rb