2011/8/15 Ryan Davis <ryand-ruby / zenspider.com>:
> case
> when [String, Whatever].include? klass then
> # ...
> else
> # ...
> end

The most ellegant way. Thanks.

-- 
Iaki Baz Castillo
<ibc / aliax.net>