ruby case when then
ruby mixin