lib/rio/match.rb in rio-0.3.3 vs lib/rio/match.rb in rio-0.3.4

- old
+ new

@@ -38,12 +38,15 @@ module RIO module Match #:nodoc: all module Common def ss_type?(keys) - case - when cx['ss_type'].nil? then keys[0] - when cx['ss_type'].in?(keys) then cx['ss_type'] + #p cx,keys + case cx['ss_type'] + when nil + keys[0] + else + cx['ss_type'] end end end end