Support ruby case assignment