Class Thor::Task
In: lib/bundler/vendor/thor/task.rb
Parent: Struct.new(:name, :description, :long_description, :usage, :options)

Methods

Constants

FILE_REGEXP = /^#{Regexp.escape(File.dirname(__FILE__))}/

Public Class methods

Public Instance methods

Returns the formatted usage by injecting given required arguments and required options into the given usage.

By default, a task invokes a method in the thor class. You can change this implementation to create custom tasks.

Protected Instance methods

[Validate]