method

new

new(hash_options = {}, defaults = {}, stop_on_unknown = false, disable_required_check = false)
public

Takes a hash of Bundler::Thor::Option and a hash with defaults.

If stop_on_unknown is true, #parse will stop as soon as it encounters an unknown option or a regular argument.