Class: Clack::Prompts::Tasks::Task

Inherits:
Data
  • Object
show all
Defined in:
lib/clack/prompts/tasks.rb

Overview

A single task definition with title, callable, and enabled flag.

Instance Attribute Summary collapse

Instance Attribute Details

#enabledObject (readonly)

Returns the value of attribute enabled

Returns:

  • (Object)

    the current value of enabled



54
# File 'lib/clack/prompts/tasks.rb', line 54

Task = Data.define(:title, :task, :enabled)

#taskObject (readonly)

Returns the value of attribute task

Returns:

  • (Object)

    the current value of task



54
# File 'lib/clack/prompts/tasks.rb', line 54

Task = Data.define(:title, :task, :enabled)

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



54
# File 'lib/clack/prompts/tasks.rb', line 54

Task = Data.define(:title, :task, :enabled)