Class: Cute::OARSSHopts

Inherits:
Hash
  • Object
show all
Defined in:
lib/cute/extensions.rb

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ OARSSHopts

Returns a new instance of OARSSHopts.



44
45
46
47
48
49
# File 'lib/cute/extensions.rb', line 44

def initialize(opts={})
  super
  raise "The argument must be a Hash" unless opts.is_a?(Hash)
  self.merge!({:user => "oar", :keys => ["~/my_ssh_jobkey"], :port => 6667 })
  self.merge!(opts)
end