Implement input handling in Env
This commit is contained in:
1 parent
d347b8d6f5
commit
a871bb4009
2 files changed
+16
-2
No files matched your search
@@ -1,10 +1,11 @@
|
||||
module Producer
|
||||
module Core
|
||||
class Env
|
||||
attr_reader :output
|
||||
attr_reader :input, :output
|
||||
attr_accessor :target
|
||||
|
||||
def initialize(output: $stdout)
|
||||
def initialize(input: $stdin, output: $stdout)
|
||||
@input = input
|
||||
@output = output
|
||||
@target = nil
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user