Method: Bundler::Thor.disable_required_check!
- Defined in:
- lib/bundler/vendor/thor/lib/thor.rb
.disable_required_check!(*command_names) ⇒ Object
Disable the check for required options for the given commands. This is useful if you have a command that does not need the required options to work, like help.
Parameters
- Symbol …
-
A list of commands that should be affected.
339 340 341 |
# File 'lib/bundler/vendor/thor/lib/thor.rb', line 339 def disable_required_check!(*command_names) @disable_required_check = disable_required_check | command_names end |