Method: Bundler::Thor::DynamicCommand#run

Defined in:
lib/bundler/vendor/thor/lib/thor/command.rb

#run(instance, args = []) ⇒ Object


142
143
144
145
146
147
148
# File 'lib/bundler/vendor/thor/lib/thor/command.rb', line 142

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