Sha256: 3cdcfbe587d274cc8aff0a9df0ad6ce03408b4430877b7be1af95ac11472bc68
Contents?: true
Size: 962 Bytes
Versions: 3
Compression:
Stored size: 962 Bytes
Contents
# frozen_string_literal: true module Vedeu module Geometries # Allows the storing of interface/view geometry independent of the # interface instance. # class Repository < Vedeu::Repositories::Repository singleton_class.send(:alias_method, :geometries, :repository) null Vedeu::Geometries::Geometry real Vedeu::Geometries::Geometry end # Repository end # Geometries # Manipulate the repository of geometries. # # @example # Vedeu.geometries # # @!method geometries # @return [Vedeu::Geometries::Repository] def_delegators Vedeu::Geometries::Repository, :geometries # :nocov: # See {file:docs/events/view.md#\_maximise_} Vedeu.bind(:_maximise_) do |name| Vedeu.geometries.by_name(name).maximise end # See {file:docs/events/view.md#\_unmaximise_} Vedeu.bind(:_unmaximise_) do |name| Vedeu.geometries.by_name(name).unmaximise end # :nocov: end # Vedeu
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.10 | lib/vedeu/geometries/repository.rb |
vedeu-0.8.9 | lib/vedeu/geometries/repository.rb |
vedeu-0.8.8 | lib/vedeu/geometries/repository.rb |