Exception: Aric::Error::JobNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Aric::Error::JobNotFound
- Defined in:
- lib/aric/error/job_name_required.rb
Instance Method Summary collapse
-
#initialize(job) ⇒ JobNotFound
constructor
A new instance of JobNotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(job) ⇒ JobNotFound
Returns a new instance of JobNotFound.
4 5 6 |
# File 'lib/aric/error/job_name_required.rb', line 4 def initialize(job) @job = job end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/aric/error/job_name_required.rb', line 8 def to_s "Unkonw job specified `#{@job}`" end |