In Files

  • shell/builtin-command.rb

Shell::AppendIO

Public Class Methods

new(sh, io, filter) click to toggle source
 
               # File shell/builtin-command.rb, line 87
def initialize(sh, io, filter)
  super sh
  @input = filter
  @io = io
end
            

Public Instance Methods

input=(filter) click to toggle source
 
               # File shell/builtin-command.rb, line 93
def input=(filter)
  @input.input=filter
  for l in @input
    @io << l
  end
end