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
AWDWR.

Sam

Here you can find information about the case statement:
http://www.rubyist.net/~slagell/ruby/control.html

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