Class: Kitchen::Driver::DockerERBContext
- Inherits:
-
Object
- Object
- Kitchen::Driver::DockerERBContext
- Defined in:
- lib/kitchen/driver/docker/erb.rb
Overview
ERB Context
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.
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_binding ⇒ Object
29 30 31 |
# File 'lib/kitchen/driver/docker/erb.rb', line 29 def get_binding binding end |