Class: Blender::Task::Ssh

Inherits:
Base
  • Object
show all
Defined in:
lib/blender/tasks/ssh.rb

Instance Attribute Summary

Attributes inherited from Base

#command, #driver, #driver_opts, #hosts, #metadata, #name

Instance Method Summary collapse

Methods inherited from Base

#add_metadata, #driver_options, #execute, #ignore_failure, #initialize, #members, #use_driver

Methods included from Discovery

#build_discovery, #old_search, #search, #search_with_config

Methods included from Utils::Refinements

#camelcase, #symbolize

Constructor Details

This class inherits a constructor from Blender::Task::Base

Instance Method Details

#concurrency(n) ⇒ Object



23
24
25
# File 'lib/blender/tasks/ssh.rb', line 23

def concurrency(n)
  @metadata[:concurrency] = n
end

#default_metadataObject



27
28
29
30
31
32
# File 'lib/blender/tasks/ssh.rb', line 27

def 
  { 
    ignore_failure: false,
    concurrency: 1
  }
end