Class: Whenever::JobSequence
- Inherits:
-
Array
- Object
- Array
- Whenever::JobSequence
- Defined in:
- lib/whenever/job_sequence.rb
Instance Attribute Summary collapse
-
#dependent ⇒ Object
writeonly
Sets the attribute dependent.
Instance Method Summary collapse
-
#initialize(options = {}, size = 0, obj = nil) ⇒ JobSequence
constructor
A new instance of JobSequence.
- #to_single_job ⇒ Object
Constructor Details
#initialize(options = {}, size = 0, obj = nil) ⇒ JobSequence
Returns a new instance of JobSequence.
5 6 7 8 9 |
# File 'lib/whenever/job_sequence.rb', line 5 def initialize(={}, size=0, obj=nil) super(size, obj) @dependent = .fetch(:dependent, true) end |
Instance Attribute Details
#dependent=(value) ⇒ Object (writeonly)
Sets the attribute dependent
3 4 5 |
# File 'lib/whenever/job_sequence.rb', line 3 def dependent=(value) @dependent = value end |