Sha256: 0b80ec40daf0f046ef91b59428551b338fa28234fc2f78186fbc28f8a996e4ea

Contents?: true

Size: 527 Bytes

Versions: 9

Compression:

Stored size: 527 Bytes

Contents

module Vedeu

  module Editor

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

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

      real Vedeu::Editor::Document
      null Vedeu::Editor::Document

    end # Repository

  end # Editor

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

end # Vedeu

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vedeu-0.6.29 lib/vedeu/editor/repository.rb
vedeu-0.6.28 lib/vedeu/editor/repository.rb
vedeu-0.6.27 lib/vedeu/editor/repository.rb
vedeu-0.6.26 lib/vedeu/editor/repository.rb
vedeu-0.6.25 lib/vedeu/editor/repository.rb
vedeu-0.6.24 lib/vedeu/editor/repository.rb
vedeu-0.6.23 lib/vedeu/editor/repository.rb
vedeu-0.6.22 lib/vedeu/editor/repository.rb
vedeu-0.6.21 lib/vedeu/editor/repository.rb