Class: Clack::Prompts::Tasks::Task
- Inherits:
-
Data
- Object
- Data
- Clack::Prompts::Tasks::Task
- Defined in:
- lib/clack/prompts/tasks.rb
Overview
A single task definition with title, callable, and enabled flag.
Instance Attribute Summary collapse
-
#enabled ⇒ Object
readonly
Returns the value of attribute enabled.
-
#task ⇒ Object
readonly
Returns the value of attribute task.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Attribute Details
#enabled ⇒ Object (readonly)
Returns the value of attribute enabled
54 |
# File 'lib/clack/prompts/tasks.rb', line 54 Task = Data.define(:title, :task, :enabled) |
#task ⇒ Object (readonly)
Returns the value of attribute task
54 |
# File 'lib/clack/prompts/tasks.rb', line 54 Task = Data.define(:title, :task, :enabled) |
#title ⇒ Object (readonly)
Returns the value of attribute title
54 |
# File 'lib/clack/prompts/tasks.rb', line 54 Task = Data.define(:title, :task, :enabled) |