Method: Thor::DynamicCommand#run
- Defined in:
- lib/thor/command.rb
#run(instance, args = []) ⇒ Object
124 125 126 127 128 129 130 |
# File 'lib/thor/command.rb', line 124 def run(instance, args = []) if (instance.methods & [name.to_s, name.to_sym]).empty? super else instance.class.handle_no_command_error(name) end end |