Class: Vedeu::Models::Interfaces

Inherits:
Repository show all
Defined in:
lib/vedeu/models/interfaces.rb

Overview

Allows the storing of interfaces and views.

Instance Method Summary collapse

Methods included from Store

#each, #empty?, #exists?, #in_memory, #registered, #reset, #size, #storage

Methods included from Registerable

included

Methods included from Common

#demodulize, #present?, #snake_case

Constructor Details

This class inherits a constructor from Vedeu::Repository

Instance Method Details

#zindexedArray<Vedeu::Models::Interface>

Returns the interfaces in zindex order.

Examples:

Vedeu.interfaces.zindexed

See Also:



21
22
23
# File 'lib/vedeu/models/interfaces.rb', line 21

def zindexed
  all.sort_by(&:zindex)
end