Sha256: a8a1d6afc7de0ef5e8579ee7a03e0cc4bee93fb8ffd2a1db4259d19e9a9f6106

Contents?: true

Size: 623 Bytes

Versions: 36

Compression:

Stored size: 623 Bytes

Contents

module Vedeu

  module Buffers

    # Allows the storing of view buffers.
    #
    class Repository < Vedeu::Repositories::Repository

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

      null Vedeu::Buffers::Null
      real Vedeu::Buffers::Buffer

    end # Repository

    class Buffer

      repo Vedeu::Buffers::Repository.repository

    end # Buffer

  end # Buffers

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

end # Vedeu

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
vedeu-0.6.57 lib/vedeu/buffers/repository.rb
vedeu-0.6.56 lib/vedeu/buffers/repository.rb
vedeu-0.6.54 lib/vedeu/buffers/repository.rb
vedeu-0.6.53 lib/vedeu/buffers/repository.rb
vedeu-0.6.52 lib/vedeu/buffers/repository.rb
vedeu-0.6.51 lib/vedeu/buffers/repository.rb
vedeu-0.6.50 lib/vedeu/buffers/repository.rb
vedeu-0.6.49 lib/vedeu/buffers/repository.rb
vedeu-0.6.48 lib/vedeu/buffers/repository.rb
vedeu-0.6.47 lib/vedeu/buffers/repository.rb
vedeu-0.6.46 lib/vedeu/buffers/repository.rb
vedeu-0.6.45 lib/vedeu/buffers/repository.rb
vedeu-0.6.44 lib/vedeu/buffers/repository.rb
vedeu-0.6.43 lib/vedeu/buffers/repository.rb
vedeu-0.6.42 lib/vedeu/buffers/repository.rb
vedeu-0.6.41 lib/vedeu/buffers/repository.rb