method

new

ruby latest stable - Class: Bundler::Thor::Options

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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.