Class: MyTasks::ThorTask

Inherits:
Thor
  • Object
show all
Defined in:
lib/thor/spec/thor_runner_spec.rb

Instance Attribute Summary

Attributes inherited from Thor

#options

Instance Method Summary collapse

Methods inherited from Thor

[], convert_task_options, default_task, desc, group, group_name, #help, #initialize, install_task, #invoke, invoke, map, maxima, method_options, opts, package_task, spec_task, start, subclass_files, subclasses, tasks

Constructor Details

This class inherits a constructor from Thor

Instance Method Details

#fooObject



10
11
12
# File 'lib/thor/spec/thor_runner_spec.rb', line 10

def foo
  "foo"
end

#uhohObject



15
16
17
# File 'lib/thor/spec/thor_runner_spec.rb', line 15

def uhoh
  Object.new.raise_no_method_error_please
end