Sha256: f97f0ebedc2c92c8367f3d7ad8b3707291fd6f6a455ea1ec8a22c1742492f7ee

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

module Vedeu

  # Allows the storing of menus by name.
  #
  # @api public
  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

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.4.33 lib/vedeu/repositories/repositories/menus.rb