Parent

Methods

Class Index [+]

Quicksearch

Thor::DynamicTask

A dynamic task that handles method missing scenarios.

Public Class Methods

new(name, options=nil) click to toggle source
     # File lib/bundler/vendor/thor/task.rb, line 102
102:     def initialize(name, options=nil)
103:       super(name.to_s, "A dynamically-generated task", name.to_s, name.to_s, options)
104:     end

Public Instance Methods

run(instance, args=[]) click to toggle source
     # File lib/bundler/vendor/thor/task.rb, line 106
106:     def run(instance, args=[])
107:       if (instance.methods & [name.to_s, name.to_sym]).empty?
108:         super
109:       else
110:         instance.class.handle_no_task_error(name)
111:       end
112:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.