18 lines
281 B
Ruby
18 lines
281 B
Ruby
module Producer
|
|
module Core
|
|
class Env
|
|
attr_reader :output
|
|
attr_accessor :target
|
|
|
|
def initialize(output: $stdout)
|
|
@output = output
|
|
@target = nil
|
|
end
|
|
|
|
def remote
|
|
@remote ||= Remote.new(target)
|
|
end
|
|
end
|
|
end
|
|
end
|