Switch statement

How do you do a basic switch statment (i.e., switch(i) case 1:task;end;
case2:task;end;) in ruby on rails? I can’t find any reference to it in


Here you can find information about the case statement:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs