Method: Blender::Driver::ShellOut#initialize
- Defined in:
- lib/blender/drivers/shellout.rb
#initialize(config = {}) ⇒ ShellOut
Returns a new instance of ShellOut.
23 24 25 26 27 28 29 30 |
# File 'lib/blender/drivers/shellout.rb', line 23 def initialize(config = {}) = {} cfg = config.dup [:user, :group, :cwd, :umask, :returns, :environment, :timeout].each do |key| [key] = cfg.delete(key) if cfg.key?(key) end super(cfg) end |