Sha256: 04cbd2cf9d962522afcc8c5f53667fee66336eb6df212644ce3767ddde9f66a4
Contents?: true
Size: 738 Bytes
Versions: 1
Compression:
Stored size: 738 Bytes
Contents
module Vedeu # Allows the storing of interfaces and views. # # @api public 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.33 | lib/vedeu/repositories/repositories/interfaces_repository.rb |