Method: Puppetfactory::Plugins::Example#initialize

Defined in:
lib/puppetfactory/plugins/example.rb

#initialize(options) ⇒ Example

Returns a new instance of Example.



7
8
9
10
11
12
# File 'lib/puppetfactory/plugins/example.rb', line 7

def initialize(options)
  super(options) # call the superclass to initialize it

  @weight  = 1
  @example = options[:example] || '/tmp/example'
end