Class: Vx::Builder::ScriptBuilder::Timeouts
- Defined in:
- lib/vx/builder/script_builder/timeouts.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#deploy?, #do_after_deploy, #do_announce, #do_before_deploy, #do_before_install, #do_before_script, #do_cache_key, #do_cached_directories, #do_deploy_script, #do_init, #do_install, #do_script
Methods included from Helper::VxvmInstall
Methods included from Helper::TraceShCommand
Instance Method Details
#call(env) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/vx/builder/script_builder/timeouts.rb', line 7 def call(env) if tm = env.source.vexor.read_timeout env.init << "echo Vexor: set read timeout to #{tm} seconds" end if tm = env.source.vexor.timeout env.init << "echo Vexor: set timeout to #{tm} seconds" end app.call(env) end |