Class: Itamae::Backend::Ssh

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/itamae.rb

Instance Method Summary collapse

Instance Method Details

#clearObject



11
12
13
14
15
# File 'lib/ext/itamae.rb', line 11

def clear
  @backend.get_config(:ssh).close
  @backend.set_config(:ssh, nil)
  @backend.set_config(:scp, nil)
end

#hostObject



7
8
9
# File 'lib/ext/itamae.rb', line 7

def host
  @options['host']
end