Exception: Tomo::Runtime::NoTasksError
- Defined in:
- lib/tomo/runtime/no_tasks_error.rb
Instance Attribute Summary collapse
-
#task_type ⇒ Object
Returns the value of attribute task_type.
Instance Method Summary collapse
Methods inherited from Error
Methods included from Colors
Instance Attribute Details
#task_type ⇒ Object
Returns the value of attribute task_type.
6 7 8 |
# File 'lib/tomo/runtime/no_tasks_error.rb', line 6 def task_type @task_type end |
Instance Method Details
#to_console ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/tomo/runtime/no_tasks_error.rb', line 8 def to_console <<~ERROR No #{task_type} tasks are configured. You can specify them using a #{yellow(task_type)} block in #{yellow(Tomo::DEFAULT_CONFIG_PATH)}. More configuration documentation and examples can be found here: #{blue('https://tomo.mattbrictson.com/configuration')} ERROR end |