Sha256: cb5c13e68ad932d6050a4cbd21dfdabfa4dc05816bb87d05ed304822334583b4

Contents?: true

Size: 670 Bytes

Versions: 9

Compression:

Stored size: 670 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
  #
  # @api public
  # @!method buffers
  # @return [Vedeu::Buffers::Repository]
  def_delegators Vedeu::Buffers::Repository,
                 :buffers

end # Vedeu

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vedeu-0.8.20 lib/vedeu/buffers/repository.rb
vedeu-0.8.19 lib/vedeu/buffers/repository.rb
vedeu-0.8.18 lib/vedeu/buffers/repository.rb
vedeu-0.8.17 lib/vedeu/buffers/repository.rb
vedeu-0.8.16 lib/vedeu/buffers/repository.rb
vedeu-0.8.15 lib/vedeu/buffers/repository.rb
vedeu-0.8.14 lib/vedeu/buffers/repository.rb
vedeu-0.8.13 lib/vedeu/buffers/repository.rb
vedeu-0.8.12 lib/vedeu/buffers/repository.rb