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

In Files

  • shell/builtin-command.rb

Shell::Concat

Public Class Methods

new(sh, *jobs) click to toggle source
 
               # File shell/builtin-command.rb, line 136
def initialize(sh, *jobs)
  super(sh)
  @jobs = jobs
end
            

Public Instance Methods

each(rs = nil) click to toggle source
 
               # File shell/builtin-command.rb, line 141
def each(rs = nil)
  while job = @jobs.shift
    job.each{|l| yield l}
  end
end