Module: Cuprum::Collections::Basic

Defined in:
lib/cuprum/collections/basic.rb,
lib/cuprum/collections/basic/query.rb,
lib/cuprum/collections/basic/rspec.rb,
lib/cuprum/collections/basic/command.rb,
lib/cuprum/collections/basic/commands.rb,
lib/cuprum/collections/basic/collection.rb,
lib/cuprum/collections/basic/repository.rb,
lib/cuprum/collections/basic/query_builder.rb

Overview

The Basic collection is an example, in-memory collection implementation.

Defined Under Namespace

Modules: Commands, RSpec Classes: Collection, Command, Query, QueryBuilder, Repository

Class Method Summary collapse

Class Method Details

.new(**options) ⇒ Object

Returns a new instance of Basic::Collection.

Parameters:

  • options (Hash)

    Constructor options for the collection.

See Also:

  • Collection#initialize.


13
14
15
# File 'lib/cuprum/collections/basic.rb', line 13

def self.new(**options)
  Cuprum::Collections::Basic::Collection.new(**options)
end