miah/chef_logstash — pull request #23 by miah (2014-01-30 19:16:41+00:00)
Title: Pass an array to when.

The when parameter in a case statement expects a boolean condition or a
matching expression. I found this helpful;

http://ilikestuffblog.com/2008/04/15/how-to-write-case-switch-statements-in-ruby/

Based on that, I suspect I could also ditch the .to_s and just compare
class types.