Skip to content

Instantly share code, notes, and snippets.

@carlosbaraza
Created July 17, 2018 14:07
Show Gist options
  • Save carlosbaraza/8dcf56575534366b47bbf2059ef9f2b0 to your computer and use it in GitHub Desktop.
Save carlosbaraza/8dcf56575534366b47bbf2059ef9f2b0 to your computer and use it in GitHub Desktop.
status = 'reopened'
status = 'closed' if status =~ /(opened|reopened)/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment