Sha256: d9b89d588d89844ffdda8a027690b5024e86d0ea8131f4a5f0bf8e28d60160b7
Contents?: true
Size: 618 Bytes
Versions: 7
Compression:
Stored size: 618 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 end # Vedeu
Version data entries
7 entries across 7 versions & 1 rubygems