Sha256: a69a4a5950921d6f4ad04877aa4d694fcc8d8279860d944fddfff81ebd682f3d

Contents?: true

Size: 1019 Bytes

Versions: 9

Compression:

Stored size: 1019 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Cursors

    # Allows the storing of each interface's cursor.
    #
    # @api private
    #
    class Repository < Vedeu::Repositories::Repository

      class << self

        # {include:file:docs/dsl/by_method/cursor.md}
        # @return [NilClass|Vedeu::Cursors::Cursor]
        def cursor
          cursors.by_name
        end

      end # Eigenclass

      null Vedeu::Cursors::Cursor
      real Vedeu::Cursors::Cursor

    end # Repository

    class Cursor

      repo Vedeu::Cursors::Repository.repository

    end # Cursor

  end # Cursors

  # {include:file:docs/dsl/by_method/cursors.md}
  # @api public
  # @!method cursors
  #   @return [Vedeu::Cursors::Repository]
  def_delegators Vedeu::Cursors::Repository,
                 :cursors

  # {include:file:docs/dsl/by_method/cursor.md}
  # @api public
  # @!method cursor
  #   @see Vedeu::Cursors::Repository.cursor
  def_delegators Vedeu::Cursors::Repository,
                 :cursor

end # Vedeu

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vedeu-0.8.32 lib/vedeu/cursors/repository.rb
vedeu-0.8.31 lib/vedeu/cursors/repository.rb
vedeu-0.8.30 lib/vedeu/cursors/repository.rb
vedeu-0.8.29 lib/vedeu/cursors/repository.rb
vedeu-0.8.28 lib/vedeu/cursors/repository.rb
vedeu-0.8.27 lib/vedeu/cursors/repository.rb
vedeu-0.8.26 lib/vedeu/cursors/repository.rb
vedeu-0.8.25 lib/vedeu/cursors/repository.rb
vedeu-0.8.24 lib/vedeu/cursors/repository.rb