Sha256: 477e665f31cf66660ad8381aa78dfd8c50c04475f2cf32b1c33eb4ec5abd2c3c
Contents?: true
Size: 683 Bytes
Versions: 1
Compression:
Stored size: 683 Bytes
Contents
require 'vedeu/null/interface' require 'vedeu/models/interface' module Vedeu # Allows the storing of interfaces and views. # # @api public class Interfaces < Repository class << self alias_method :interfaces, :repository end # Eigenclass 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 class Interface repo Vedeu::Interfaces.repository end end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.54 | lib/vedeu/repositories/repositories/interfaces.rb |