Sha256: f4a0dd74df9df2a47f92552d9a6c5b8cb8b4423018cd10e61a89ff2f0df2653d
Contents?: true
Size: 679 Bytes
Versions: 2
Compression:
Stored size: 679 Bytes
Contents
module Vedeu module Models # Allows the storing of interfaces and views. # class Interfaces < Vedeu::Repository singleton_class.send(:alias_method, :interfaces, :repository) null Vedeu::Null::Interface real Vedeu::Models::Interface # Returns the interfaces in zindex order. # # @example # Vedeu.interfaces.zindexed # # @return [Array<Vedeu::Models::Interface>] # @see Vedeu::DSL::Interface#zindex def zindexed all.sort_by(&:zindex) end end # Interfaces class Interface repo Vedeu::Models::Interfaces.repository end # Interface end # Models end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.6.10 | lib/vedeu/models/interfaces.rb |
vedeu-0.6.9 | lib/vedeu/models/interfaces.rb |