"Ara.T.Howard" <Ara.T.Howard / noaa.gov> schrieb im Newsbeitrag
news:Pine.LNX.4.44.0404011006090.28079-100000 / fattire.ngdc.noaa.gov...
>
> any good reason these would not have a common parent Bool or something?
>
>   case arg
>     when Bool
>       ...
>   end
>
>   options = {
>     :mosaic => ['--mosaic=[mosaic]','-m', Bool],
>   ...
>   }

I guess it's only of limited usage since any value can be used as boolean
value.

Your case can easily be covered by

case arg
  when TrueClass, FalseClass
end

or maybe even

case arg
  when true, false
end

    robert