Sha256: 62e4ea7991e354381becbc0fba2b009cc36991602c86034210beae315febb3fc
Contents?: true
Size: 693 Bytes
Versions: 10
Compression:
Stored size: 693 Bytes
Contents
module Vedeu module Models # Allows the storing of interfaces and views. # class Interfaces < Vedeu::Repositories::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
10 entries across 10 versions & 1 rubygems