Class: Kitchen::Driver::DockerERBContext

Inherits:
Object
  • Object
show all
Defined in:
lib/kitchen/driver/docker/erb.rb

Overview

ERB Context

Instance Method Summary collapse

Constructor Details

#initialize(config = {}) ⇒ DockerERBContext

Returns a new instance of DockerERBContext.



23
24
25
26
27
# File 'lib/kitchen/driver/docker/erb.rb', line 23

def initialize(config={})
  config.each do |key, value|
    instance_variable_set('@' + key.to_s, value)
  end
end

Instance Method Details

#get_bindingObject



29
30
31
# File 'lib/kitchen/driver/docker/erb.rb', line 29

def get_binding
  binding
end