Sha256: bb4b86871ffdc3e67f4bd50c869733b2e5da92c602f8949b725554dbdd80d8be
Contents?: true
Size: 776 Bytes
Versions: 1
Compression:
Stored size: 776 Bytes
Contents
module Vedeu # Allows the storing of interfaces and views. # # @api public class Interfaces < Repository class << self 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.45 | lib/vedeu/repositories/repositories/interfaces.rb |