Exception: Rjq::RuntimeError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Rjq::RuntimeError
show all
- Defined in:
- lib/rjq/errors.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#outputs ⇒ Object
Returns the value of attribute outputs.
11
12
13
|
# File 'lib/rjq/errors.rb', line 11
def outputs
@outputs
end
|
Instance Method Details
#prepend_outputs(values) ⇒ Object
13
14
15
16
|
# File 'lib/rjq/errors.rb', line 13
def prepend_outputs(values)
@outputs = Array(values) + Array(@outputs)
self
end
|
#take_outputs ⇒ Object
18
19
20
21
22
|
# File 'lib/rjq/errors.rb', line 18
def take_outputs
values = Array(@outputs)
@outputs = nil
values
end
|