class Shell::AppendIO

Public Class Methods

new(sh, io, filter) click to toggle source
Calls superclass method
# File lib/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 lib/shell/builtin-command.rb, line 93
def input=(filter)
  @input.input=filter
  for l in @input
    @io << l
  end
end