Class: Cuprum::Collections::Basic::Repository
- Inherits:
-
Repository
- Object
- Repository
- Cuprum::Collections::Basic::Repository
- Defined in:
- lib/cuprum/collections/basic/repository.rb
Overview
A repository represents a group of Basic collections.
Instance Method Summary collapse
-
#initialize(data: {}) ⇒ Repository
constructor
A new instance of Repository.
Methods inherited from Repository
#[], #add, #create, #find_or_create, #key?, #keys
Constructor Details
#initialize(data: {}) ⇒ Repository
Returns a new instance of Repository.
12 13 14 15 16 |
# File 'lib/cuprum/collections/basic/repository.rb', line 12 def initialize(data: {}) super() @data = data end |