Class: Kitchen::Driver::DockerERBContext
- Inherits:
-
Object
- Object
- Kitchen::Driver::DockerERBContext
- Defined in:
- lib/kitchen/driver/docker/erb.rb
Instance Method Summary collapse
- #get_binding ⇒ Object
-
#initialize(config = {}) ⇒ DockerERBContext
constructor
A new instance of DockerERBContext.
Constructor Details
#initialize(config = {}) ⇒ DockerERBContext
Returns a new instance of DockerERBContext.
24 25 26 27 28 |
# File 'lib/kitchen/driver/docker/erb.rb', line 24 def initialize(config={}) config.each do |key, value| instance_variable_set('@' + key.to_s, value) end end |
Instance Method Details
#get_binding ⇒ Object
30 31 32 |
# File 'lib/kitchen/driver/docker/erb.rb', line 30 def get_binding binding end |