Class: Vedeu::Interfaces::Repository
- Inherits:
-
Repositories::Repository
- Object
- Repositories::Repository
- Vedeu::Interfaces::Repository
- Defined in:
- lib/vedeu/interfaces/repository.rb
Overview
Allows the storing of interfaces and views.
Instance Attribute Summary
Attributes inherited from Repositories::Repository
Instance Method Summary collapse
-
#zindexed ⇒ Array<String|Symbol>
Returns the interface names in zindex order.
Methods inherited from Repositories::Repository
#all, #by_name, #current, #find, #find!, #find_or_create, #initialize, #inspect, #log_store, #registered?, #remove, #repository, #store, #valid_model?
Methods included from Repositories::Store
#each, #empty?, #exists?, #in_memory, #registered, #size
Methods included from Repositories::Storage
Methods included from Common
#absent?, #array?, #boolean, #boolean?, #empty_value?, #escape?, #falsy?, #hash?, #line_model?, #numeric?, #positionable?, #present?, #snake_case, #stream_model?, #string?, #symbol?, #truthy?, #view_model?
Methods included from Repositories::Registerable
Constructor Details
This class inherits a constructor from Vedeu::Repositories::Repository
Instance Method Details
#zindexed ⇒ Array<String|Symbol>
Returns the interface names in zindex order.
23 24 25 |
# File 'lib/vedeu/interfaces/repository.rb', line 23 def zindexed all.sort_by(&:zindex).map(&:name) end |