Sha256: f0c9478b6bf604f0235c8459cf24ceb67dbd811a39f1b3ebbaca922524812b32
Contents?: true
Size: 695 Bytes
Versions: 1
Compression:
Stored size: 695 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 # Interface end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.55 | lib/vedeu/models/interfaces.rb |