Implement Remote#fs
This commit is contained in:
1 parent
99710b0df9
commit
91f2bc3567
2 files changed
+22
No files matched your search
@@ -14,6 +14,10 @@ module Producer
|
||||
@session ||= Net::SSH.start(@hostname, Etc.getlogin)
|
||||
end
|
||||
|
||||
def fs
|
||||
@fs ||= Remote::FS.new(self)
|
||||
end
|
||||
|
||||
def execute(command)
|
||||
output = ''
|
||||
session.open_channel do |channel|
|
||||
|
||||
Reference in new issue
Block a user