Class: Kitchen::Transport::Exec
- Inherits:
-
Base
- Object
- Plugin::Base
- Base
- Kitchen::Transport::Exec
- Defined in:
- lib/kitchen/transport/exec.rb
Overview
Exec transport for Kitchen. This transport runs all commands locally.
Defined Under Namespace
Classes: Connection
Instance Attribute Summary
Attributes included from Configurable
Instance Method Summary collapse
Methods inherited from Base
#cleanup!, #doctor, #initialize, kitchen_transport_api_version
Methods included from Logging
#banner, #debug, #error, #fatal, #info, #warn
Methods included from Configurable
#[], #bourne_shell?, #calculate_path, #config_keys, #diagnose, #diagnose_plugin, #finalize_config!, included, #name, #powershell_shell?, #remote_path_join, #unix_os?, #verify_dependencies, #windows_os?
Methods inherited from Plugin::Base
Constructor Details
This class inherits a constructor from Kitchen::Transport::Base
Instance Method Details
#connection(state, &block) ⇒ Object
30 31 32 33 |
# File 'lib/kitchen/transport/exec.rb', line 30 def connection(state, &block) = (config.to_hash.merge(state)) Kitchen::Transport::Exec::Connection.new(, &block) end |