xx = if string.include?("1")
1
elsif host.include?("a")
...
Ruby Case statement with Regular...
by ysorigin.myopenid.com,
August 20, 2009 04:36,
8 refactorings, tagged with ruby case regular expression
is any some short-hand for ...