Skip to content

Instantly share code, notes, and snippets.

Created January 25, 2013 09:18
Show Gist options
  • Save anonymous/4633029 to your computer and use it in GitHub Desktop.
Save anonymous/4633029 to your computer and use it in GitHub Desktop.
status = 'solved'
case status
when 'solved', 'closed'
puts true
end
puts true if %w[solved closed].include? status
puts true if status == 'solved' or status == 'closed'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment