Sha256: 64a4739bea7e61cc8e3cd122286ec5bd7e2ae3eb360acaae65dd28b867fa0965
Contents?: true
Size: 864 Bytes
Versions: 4
Compression:
Stored size: 864 Bytes
Contents
module Vedeu # Allows the storing of interfaces and views. # # @api public class Interfaces < Repository class << self # @example # Vedeu.interfaces # # @return [Vedeu::Interfaces] alias_method :interfaces, :repository # Remove all stored models from the repository. # # @example # Vedeu.interfaces.reset! # # @return [Vedeu::Interfaces] def reset! @interfaces = register(Vedeu::Interface) end end null Vedeu::Null::Interface # real Vedeu::Interface # Returns the interfaces in zindex order. # # @example # Vedeu.interfaces.zindexed # # @return [Array<Vedeu::Interface>] # @see Vedeu::DSL::Interface#zindex def zindexed all.sort { |a, b| a.zindex <=> b.zindex } end end # Interfaces end # Vedeu
Version data entries
4 entries across 4 versions & 1 rubygems