Exception: Fudge::Exceptions::TaskNotFound
- Defined in:
- lib/fudge/exceptions.rb
Overview
Unknown task error class
Instance Method Summary collapse
-
#initialize(task) ⇒ TaskNotFound
constructor
A new instance of TaskNotFound.
-
#message ⇒ Object
error message.
Constructor Details
#initialize(task) ⇒ TaskNotFound
17 18 19 |
# File 'lib/fudge/exceptions.rb', line 17 def initialize(task) @task = task end |
Instance Method Details
#message ⇒ Object
error message
22 23 24 |
# File 'lib/fudge/exceptions.rb', line 22 def "No task found with name '#{@task}'" end |