Class: Thor::HiddenTask

Inherits:
Task
  • Object
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_cmd

Constructor Details

This class inherits a constructor from Thor::Task

Instance Method Details

#hidden?Boolean

Returns:

  • (Boolean)


110
111
112
# File 'lib/thor/task.rb', line 110

def hidden?
  true
end