commondream/tconsole — comment on commit 8887abf1df27324e4505306d4c8e55678797beea
File: lib/tconsole/server.rb line 233
By batasrki:

How about:

if %w(on true yes).include?(value)