Fix default argument values for OptParse::Switch#summarize
The documentation describes these arguments being hashes, and the method is called with hashes, so a hash default makes more sense.
The method would fail previously if called without arguments and @short or @long contained a non-integer value.
Fixes [Bug #10928]
Fix default argument values for OptParse::Switch#summarize
The documentation describes these arguments being hashes, and the method
is called with hashes, so a hash default makes more sense.
The method would fail previously if called without arguments and @short
or @long contained a non-integer value.
Fixes [Bug #10928]