module Thor::Base::ClassMethods
def public_task(*names)
public_task :foo, :bar, :baz
public_task :foo
==== Examples
names
==== Parameters
Allows to use private methods from parent in child classes as tasks.
def public_task(*names) names.each do |name| class_eval "def #{name}(*); super end" end end