Allow Env constructor to accept a remote instance
This commit is contained in:
1 parent
00d9b074cd
commit
88036f0389
2 files changed
+11
-1
No files matched your search
@@ -4,10 +4,11 @@ module Producer
|
||||
attr_reader :input, :output, :registry
|
||||
attr_accessor :target
|
||||
|
||||
def initialize(input: $stdin, output: $stdout, registry: {})
|
||||
def initialize(input: $stdin, output: $stdout, remote: nil, registry: {})
|
||||
@input = input
|
||||
@output = output
|
||||
@registry = registry
|
||||
@remote = remote
|
||||
@target = nil
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user