2013-08-13 01:36:33 +00:00

22 lines
323 B
Ruby

module Producer
module Core
class Env
attr_writer :output
attr_accessor :target
def initialize
@output = $stdout
@target = nil
end
def output(str)
@output.puts str
end
def remote
@remote ||= Remote.new(target)
end
end
end
end