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.8.0 lib/vedeu/buffers/repository.rb
vedeu-0.7.4 lib/vedeu/buffers/repository.rb
vedeu-0.7.3 lib/vedeu/buffers/repository.rb
vedeu-0.7.2 lib/vedeu/buffers/repository.rb
vedeu-0.7.1 lib/vedeu/buffers/repository.rb
vedeu-0.7.0 lib/vedeu/buffers/repository.rb
vedeu-0.6.71 lib/vedeu/buffers/repository.rb
vedeu-0.6.70 lib/vedeu/buffers/repository.rb
vedeu-0.6.69 lib/vedeu/buffers/repository.rb
vedeu-0.6.68 lib/vedeu/buffers/repository.rb
vedeu-0.6.67 lib/vedeu/buffers/repository.rb
vedeu-0.6.66 lib/vedeu/buffers/repository.rb
vedeu-0.6.65 lib/vedeu/buffers/repository.rb
vedeu-0.6.64 lib/vedeu/buffers/repository.rb
vedeu-0.6.63 lib/vedeu/buffers/repository.rb
vedeu-0.6.62 lib/vedeu/buffers/repository.rb
vedeu-0.6.61 lib/vedeu/buffers/repository.rb
vedeu-0.6.60 lib/vedeu/buffers/repository.rb
vedeu-0.6.59 lib/vedeu/buffers/repository.rb
vedeu-0.6.58 lib/vedeu/buffers/repository.rb