Class: Vedeu::Models::Interfaces
- Inherits:
-
Repository
- Object
- Repository
- Vedeu::Models::Interfaces
- Defined in:
- lib/vedeu/models/interfaces.rb
Overview
Allows the storing of interfaces and views.
Instance Method Summary collapse
-
#zindexed ⇒ Array<Vedeu::Models::Interface>
Returns the interfaces in zindex order.
Methods included from Store
#each, #empty?, #exists?, #in_memory, #registered, #reset, #size, #storage
Methods included from Registerable
Methods included from Common
#demodulize, #present?, #snake_case
Constructor Details
This class inherits a constructor from Vedeu::Repository
Instance Method Details
#zindexed ⇒ Array<Vedeu::Models::Interface>
Returns the interfaces in zindex order.
21 22 23 |
# File 'lib/vedeu/models/interfaces.rb', line 21 def zindexed all.sort_by(&:zindex) end |