You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require'rubygems'require'thor'classEnumArgument < Thorargument:fruit,:enum=>%w{banana,apple}desc'salad fruit','Only like fruit salad'defsaladputsfruitendendEnumArgument.start
We expect to have an error when executing:
$ ruby enum_argument.rb salad tomato
It does not with thor-0.18.1.
The text was updated successfully, but these errors were encountered:
Enum should work on arguments also.
With this code:
We expect to have an error when executing:
It does not with thor-0.18.1.
The text was updated successfully, but these errors were encountered: