Skip to content

Instantly share code, notes, and snippets.

Created July 26, 2014 17:55
Show Gist options
  • Save anonymous/e5b5503dffcf059956dc to your computer and use it in GitHub Desktop.
Save anonymous/e5b5503dffcf059956dc to your computer and use it in GitHub Desktop.
replacements = Regexp.union(/Something/, /Other/)
events.each { |event| event.summary.gsub!(replacements, '') }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment