--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Return a Sequel::SQL::CaseExpression with this array as the conditions and the given default value and expression.
- !ruby/struct:SM::Flow::VERB 
  body: "  [[{:a=&gt;[2,3]}, 1]].case(0) # SQL: CASE WHEN a IN (2, 3) THEN 1 ELSE 0 END\n  [[:a, 1], [:b, 2]].case(:d, :c) # SQL: CASE c WHEN a THEN 1 WHEN b THEN 2 ELSE d END\n"
full_name: Array#case
is_singleton: false
name: case
params: (default, expression = nil)
visibility: public
