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