Class: Thor::HiddenTask

Inherits:
Task show all
Defined in:
lib/thor/task.rb

Overview

A task that is hidden in help messages but still invocable.

Constant Summary

Constants inherited from Task

Task::FILE_REGEXP

Instance Attribute Summary

Attributes inherited from Task

#description, #long_description, #name, #options, #usage

Instance Method Summary collapse

Methods inherited from Task

#formatted_usage, #initialize, #initialize_copy, #run

Constructor Details

This class inherits a constructor from Thor::Task

Instance Method Details

#hidden?Boolean

Returns:

  • (Boolean)


95
96
97
# File 'lib/thor/task.rb', line 95

def hidden?
  true
end