Class: Shell::AppendIO
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
| 
         Subclasses: 
        
       | 
    |
| Super Chains via Extension / Inclusion / Inheritance | |
| 
         Class Chain: 
        
          self,
          BuiltInCommand,
          Filter
         
       | 
    |
| 
         Instance Chain: 
        
          self,
          BuiltInCommand,
          Filter,
          Enumerable
         
       | 
    |
| Inherits: | 
        Shell::BuiltInCommand
        
  | 
    
| Defined in: | lib/shell/builtin-command.rb | 
Class Method Summary
Instance Attribute Summary
Instance Method Summary
Filter - Inherited
| #+ | Outputs   | 
    
| #< | Inputs from   | 
    
| #> | Outputs from   | 
    
| #>> | Appends the output to   | 
    
| #each | Iterates a block for each line.  | 
    
| #inspect, #to_a, #to_s, | |
| #| | Processes a pipeline.  | 
    
Constructor Details
    .new(sh, io, filter)  ⇒ AppendIO 
  
# File 'lib/shell/builtin-command.rb', line 88
def initialize(sh, io, filter) super sh @input = filter @io = io end
Instance Attribute Details
#input=(filter) (writeonly)
[ GitHub ]# File 'lib/shell/builtin-command.rb', line 94
def input=(filter) @input.input=filter for l in @input @io << l end end