Class Shell::Concat
In: shell/builtin-command.rb
Parent: BuiltInCommand

Methods

each   new  

Public Class methods

[Source]

# File shell/builtin-command.rb, line 143
    def initialize(sh, *jobs)
      super(sh)
      @jobs = jobs
    end

Public Instance methods

[Source]

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

[Validate]

ruby-doc.org is a community service provided by James Britt and Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.