Sha256: ca30ed0c7ea4e3ef5653147a142871d05e69a46add4b69d7bca0b8eb065aacd5

Contents?: true

Size: 612 Bytes

Versions: 5

Compression:

Stored size: 612 Bytes

Contents

module Vedeu

  module Cursors

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

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

      class << self

        # @return [Vedeu::Cursors::Cursor]
        # @see Vedeu::API.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

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.6.9 lib/vedeu/cursors/repository.rb
vedeu-0.6.8 lib/vedeu/cursors/repository.rb
vedeu-0.6.7 lib/vedeu/cursors/repository.rb
vedeu-0.6.6 lib/vedeu/cursors/repository.rb
vedeu-0.6.5 lib/vedeu/cursors/repository.rb