Support for the Ruby 2.4 series has ended. See here for reference.

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 88
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 94
def input=(filter)
  @input.input=filter
  for l in @input
    @io << l
  end
end