Sha256: e5934dfc4150b436accae5ee40b04275b9f0c83a838879f633b3c313c8f079f1

Contents?: true

Size: 369 Bytes

Versions: 7

Compression:

Stored size: 369 Bytes

Contents

module Vedeu

  # Allows the storing of menus by name.
  class Menus < Repository

    class << self

      # @return [Vedeu::Menus]
      alias_method :menus, :repository

      # Remove all stored models from the repository.
      #
      # @return [Vedeu::Menus]
      def reset!
        @menus = register(Vedeu::Menu)
      end

    end

  end # Menus

end # Vedeu

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vedeu-0.4.32 lib/vedeu/repositories/repositories/menus.rb
vedeu-0.4.31 lib/vedeu/repositories/repositories/menus.rb
vedeu-0.4.30 lib/vedeu/repositories/repositories/menus.rb
vedeu-0.4.29 lib/vedeu/repositories/repositories/menus.rb
vedeu-0.4.28 lib/vedeu/repositories/repositories/menus.rb
vedeu-0.4.27 lib/vedeu/repositories/repositories/menus.rb
vedeu-0.4.26 lib/vedeu/repositories/repositories/menus.rb