Module: Bj::JobList::InstanceMethods

Defined in:
lib/bj/joblist.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) push(other) Also known as: <<



100
101
102
103
104
105
# File 'lib/bj/joblist.rb', line 100

def push other
  Joblist.for(other).each do |job|
    super job
  end
  self
end

- (Object) update(options = {})



95
96
97
98
# File 'lib/bj/joblist.rb', line 95

def update options = {}
  options.to_options!
  each{|job| job.update options}
end