Class: Ssh

Inherits:
Object
  • Object
show all
Defined in:
lib/old/ssh.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



2
3
4
# File 'lib/old/ssh.rb', line 2

def config
  @config
end

Instance Method Details

#setstat(path, options) ⇒ Object



5
6
7
8
9
# File 'lib/old/ssh.rb', line 5

def setstat(path, options)
  remote do |sh, sftp|
    sftp.setstat! path, options
  end
end