Method: Dbd::Context#initialize

Defined in:
lib/dbd/context.rb

#initialize(options = {}) ⇒ Context

Build a new Context.

The subject can be either given as an argument or a new (random) subject is automatically set (see Resource for details).

A context_subject may not be given here.

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :subject (Fact::Subject) — default: new_subject

    Optional: the subject for the resource



19
20
21
# File 'lib/dbd/context.rb', line 19

def initialize(options = {})
  super
end