Sha256: 9b9a1c70e49f52cbf2efcf230492396305677510a123d14cf7cf11e65fb3855f

Contents?: true

Size: 645 Bytes

Versions: 11

Compression:

Stored size: 645 Bytes

Contents

module Vedeu

  # Allows the storing of interface/view geometry independent of the interface
  # instance.
  #
  # @api public
  class Geometries < Repository

    class << self

      # @example
      #   Vedeu.geometries
      #
      # @return [Vedeu::Geometries]
      alias_method :geometries, :repository

      # Remove all stored models from the repository.
      #
      # @example
      #   Vedeu.geometries.reset!
      #
      # @return [Vedeu::Geometries]
      def reset!
        @geometries = register(Vedeu::Geometry)
      end

    end

    null Vedeu::Null::Geometry
    # real Vedeu::Geometry

  end # Geometries

end # Vedeu

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
vedeu-0.4.44 lib/vedeu/repositories/repositories/geometries.rb
vedeu-0.4.43 lib/vedeu/repositories/repositories/geometries.rb
vedeu-0.4.42 lib/vedeu/repositories/repositories/geometries.rb
vedeu-0.4.41 lib/vedeu/repositories/repositories/geometries.rb
vedeu-0.4.40 lib/vedeu/repositories/repositories/geometries.rb
vedeu-0.4.39 lib/vedeu/repositories/repositories/geometries.rb
vedeu-0.4.38 lib/vedeu/repositories/repositories/geometries.rb
vedeu-0.4.37 lib/vedeu/repositories/repositories/geometries.rb
vedeu-0.4.36 lib/vedeu/repositories/repositories/geometries.rb
vedeu-0.4.35 lib/vedeu/repositories/repositories/geometries.rb
vedeu-0.4.34 lib/vedeu/repositories/repositories/geometries.rb