lib/sym/app/output/base.rb in sym-2.6.2 vs lib/sym/app/output/base.rb in sym-2.6.3
- old
+ new
@@ -2,13 +2,17 @@
module Sym
module App
module Output
class Base
- attr_accessor :opts
+ attr_accessor :opts, :stdin, :stdout, :stderr, :kernel
- def initialize(opts)
- self.opts = opts
+ def initialize(opts, stdin = STDIN, stdout = STDOUT, stderr = STDERR, kernel = nil)
+ self.opts = opts
+ self.stdin = stdin
+ self.stdout = stdout
+ self.stderr = stderr
+ self.kernel = kernel
end
@outputs = []
class << self
attr_accessor :outputs