Class: Shell::AppendIO (Ruby 2.2.4)
Description: Class : Shell::AppendIO - Ruby 2.2.4

- Home
- Core 2.2.4
- Std-lib 2.2.4
- Downloads

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

### Home Classes Methods

### In Files

- shell/builtin-command.rb

### Parent

Shell::BuiltInCommand

### Methods

- ::new
- #input=

### Class/Module Index

Quicksearch

- Shell
- Shell::AppendFile
- Shell::AppendIO
- Shell::BuiltInCommand
- Shell::Cat
- Shell::CommandProcessor
- Shell::Concat
- Shell::Echo
- Shell::Error
- Shell::Filter
- Shell::Glob
- Shell::ProcessController
- Shell::SystemCommand
- Shell::Tee
- Shell::Void

No matching classes.

# 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