Class: ZTK::Command
- Inherits:
-
Base
- Object
- Base
- ZTK::Command
- Includes:
- Download, Exec, Private, Upload
- Defined in:
- lib/ztk/command.rb,
lib/ztk/command/exec.rb,
lib/ztk/command/upload.rb,
lib/ztk/command/private.rb,
lib/ztk/command/download.rb
Overview
Command Execution Class
Defined Under Namespace
Modules: Download, Exec, Private, Upload
Instance Method Summary (collapse)
-
- (Command) initialize(configuration = {})
constructor
A new instance of Command.
Methods included from Private
Methods included from Upload
Methods included from Exec
Methods included from Download
Methods inherited from Base
build_config, #config, #direct_log, hash_config, log_and_raise, #log_and_raise
Constructor Details
- (Command) initialize(configuration = {})
Returns a new instance of Command
52 53 54 55 56 57 58 59 |
# File 'lib/ztk/command.rb', line 52 def initialize(configuration={}) super({ :timeout => 600, :ignore_exit_status => false, :exit_code => 0, :silence => false }, configuration) end |