From: "Iñaki Baz Castillo" Date: 2011-08-15T20:47:49+09:00 Subject: Re: How to use "case" to match class names? (=== not so funny) 2011/8/15 Ryan Davis : > case > when [String, Whatever].include? klass then >  # ... > else >  # ... > end The most ellegant way. Thanks. -- Iñaki Baz Castillo