Method: QME::MapReduce::Builder::Context#initialize

Defined in:
lib/qme/map/map_reduce_builder.rb

#initialize(db, vars) ⇒ Context

Create a new context entry is added as an accessor of the new Context

Parameters:

  • vars (Hash)

    a hash of parameter names (String) and values (Object). Each



16
17
18
19
# File 'lib/qme/map/map_reduce_builder.rb', line 16

def initialize(db, vars)
  super(Context.add_defaults(vars))
  @db = db
end