Module: Bj::JobList::InstanceMethods
- Defined in:
- lib/bj/joblist.rb
Instance Method Summary collapse
- #push(other) ⇒ Object (also: #<<)
- #update(options = {}) ⇒ Object
Instance Method Details
#push(other) ⇒ Object 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 |
#update(options = {}) ⇒ Object
95 96 97 98 |
# File 'lib/bj/joblist.rb', line 95 def update = {} . each{|job| job.update } end |