Sha256: 16515c6b4d9f55450809d2a6caf7993f3b5b027f8816151418fb1b387989efe3

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

module Vedeu

  # Allows the storing of view buffers.
  #
  # @api public
  class Buffers < Repository

    class << self

      alias_method :buffers, :repository

      # Remove all stored models from the repository.
      #
      # @example
      #   Vedeu.buffers.reset
      #
      # @return [Vedeu::Buffers]
      def reset!
        @buffers = register(Vedeu::Buffer)
      end

    end

    null Vedeu::Null::Buffer
    # real Vedeu::Buffer

  end # Buffers

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.4.45 lib/vedeu/repositories/repositories/buffers.rb