Method: ChefDK::Command::Verify.add_component
- Defined in:
- lib/chef-dk/command/verify.rb
.add_component(name, _delete_me = nil) {|component| ... } ⇒ Object
47 48 49 50 51 |
# File 'lib/chef-dk/command/verify.rb', line 47 def add_component(name, _delete_me=nil) component = ComponentTest.new(name) yield component if block_given? #delete this conditional component_map[name] = component end |