Class: Kitchen::Transport::Dummy
- Inherits:
-
Base
- Object
- Plugin::Base
- Base
- Kitchen::Transport::Dummy
- Defined in:
- lib/kitchen/transport/dummy.rb
Overview
Dummy transport for Kitchen. This transport does nothing but report what would happen if this transport did anything of consequence. As a result it may be a useful transport to use when debugging or developing new features or plugins.
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
34 35 36 37 |
# File 'lib/kitchen/transport/dummy.rb', line 34 def connection(state, &block) = config.to_hash.merge(state) Kitchen::Transport::Dummy::Connection.new(, &block) end |