Class: SSHKit::Backend::Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext/sshkit/backend/abstract.rb

Overview

Extend (monkeypatch)the original class with some accessors.

Instance Attribute Summary collapse

Instance Attribute Details

#envObject



11
12
13
# File 'lib/core_ext/sshkit/backend/abstract.rb', line 11

def env
  @env ||= {}
end

#groupObject



19
20
21
# File 'lib/core_ext/sshkit/backend/abstract.rb', line 19

def group
  @group
end

#hostObject



15
16
17
# File 'lib/core_ext/sshkit/backend/abstract.rb', line 15

def host
  @host
end

#pwdObject



7
8
9
# File 'lib/core_ext/sshkit/backend/abstract.rb', line 7

def pwd
  @pwd ||= []
end

#userObject



17
18
19
# File 'lib/core_ext/sshkit/backend/abstract.rb', line 17

def user
  @user
end