Use this in a text editor like Atom or Sublime Text:
Find: ([^\( ]+)\.has_key\(([^)]*)\)
Replace: $2 in $1
Insprired by: https://gist.github.com/shawnjgoff/3543601
Use this in a text editor like Atom or Sublime Text:
Find: ([^\( ]+)\.has_key\(([^)]*)\)
Replace: $2 in $1
Insprired by: https://gist.github.com/shawnjgoff/3543601