method

method_options

v2_6_3 - Show latest stable - Class: Bundler::Thor
method_options(options = nil)
public

Declares the options for the next command to be declared.

Parameters

Hash[Symbol => Object]

The hash key is the name of the option and the value

is the type of the option. Can be :string, :array, :hash, :boolean, :numeric or :required (string). If you give a value, the type of the value is used.