Skip to content

Instantly share code, notes, and snippets.

@larsar
Created June 7, 2014 07:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsar/bc43b7f508b87fe8a9e1 to your computer and use it in GitHub Desktop.
Save larsar/bc43b7f508b87fe8a9e1 to your computer and use it in GitHub Desktop.
Regex for replacing global variable with let in specs in RubyMine.
Search: @(\S*)\s=
Replace: let(:$1) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment