Sha256: 9337b1ef95dd6d19321cd8c70e9f695f5b0ccc2547897a3010b34899257d8793

Contents?: true

Size: 654 Bytes

Versions: 10

Compression:

Stored size: 654 Bytes

Contents

# frozen_string_literal: true

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

10 entries across 10 versions & 1 rubygems

Version Path
vedeu-0.8.10 lib/vedeu/buffers/repository.rb
vedeu-0.8.9 lib/vedeu/buffers/repository.rb
vedeu-0.8.8 lib/vedeu/buffers/repository.rb
vedeu-0.8.7 lib/vedeu/buffers/repository.rb
vedeu-0.8.6 lib/vedeu/buffers/repository.rb
vedeu-0.8.5 lib/vedeu/buffers/repository.rb
vedeu-0.8.4 lib/vedeu/buffers/repository.rb
vedeu-0.8.3 lib/vedeu/buffers/repository.rb
vedeu-0.8.2 lib/vedeu/buffers/repository.rb
vedeu-0.8.1 lib/vedeu/buffers/repository.rb