Implement Remote#environment:

Build and return a Remote::Environment instance, with the output of
`env` command execution.
This commit is contained in:
Thibault Jouan
2013-08-18 20:04:01 +00:00
parent 513ba4eedb
commit b0ea7d876e
2 changed files with 27 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ module Producer
session.loop
output
end
def environment
Environment.new(execute 'env')
end
end
end
end