Class: Kitchen::Driver::ERBContext
- Inherits:
-
Object
- Object
- Kitchen::Driver::ERBContext
- Defined in:
- lib/kitchen/driver/docker.rb
Overview
Erb class
Instance Method Summary collapse
- #get_binding ⇒ Object
-
#initialize(config) ⇒ ERBContext
constructor
A new instance of ERBContext.
Constructor Details
#initialize(config) ⇒ ERBContext
Returns a new instance of ERBContext.
239 240 241 242 243 |
# File 'lib/kitchen/driver/docker.rb', line 239 def initialize(config) config.each_pair do |k, v| instance_variable_set('@' + k.to_s, v) end end |
Instance Method Details
#get_binding ⇒ Object
245 246 247 |
# File 'lib/kitchen/driver/docker.rb', line 245 def get_binding binding end |