Sha256: 983023802aaabfddc204a4886230facb7644a421b2aec24f0709f091f2cfcf8b

Contents?: true

Size: 636 Bytes

Versions: 10

Compression:

Stored size: 636 Bytes

Contents

module Vedeu

  module Cursors

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

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

      class << self

        # @return [Vedeu::Cursors::Cursor]
        # @see Vedeu::API::External.cursor
        def cursor
          cursors.by_name(Vedeu.focus) if Vedeu.focus
        end

      end # Eigenclass

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

    end # Repository

    class Cursor

      repo Vedeu::Cursors::Repository.repository

    end # Cursor

  end # Cursors

end # Vedeu

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vedeu-0.6.20 lib/vedeu/cursors/repository.rb
vedeu-0.6.19 lib/vedeu/cursors/repository.rb
vedeu-0.6.18 lib/vedeu/cursors/repository.rb
vedeu-0.6.17 lib/vedeu/cursors/repository.rb
vedeu-0.6.16 lib/vedeu/cursors/repository.rb
vedeu-0.6.15 lib/vedeu/cursors/repository.rb
vedeu-0.6.14 lib/vedeu/cursors/repository.rb
vedeu-0.6.13 lib/vedeu/cursors/repository.rb
vedeu-0.6.12 lib/vedeu/cursors/repository.rb
vedeu-0.6.11 lib/vedeu/cursors/repository.rb