Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • shell/builtin-command.rb

Shell::Concat

Public Class Methods

new(sh, *jobs) click to toggle source
 
               # File shell/builtin-command.rb, line 149
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 154
def each(rs = nil)
  while job = @jobs.shift
    job.each{|l| yield l}
  end
end