KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I remember something about procs being allowed in case statements in Ruby 2.0, but I can't google it. I tried checking Ruby 2.0.0 NEWS and How to write a switch statement in Ruby . I also visited http://ruby-doc.org , but the link it had for keywords was for Ruby 1.9, not Ruby 2.0. Are procs allowed in case statements?
Tags (comma-separated)
Save Edits
Cancel