Skip to content

Instantly share code, notes, and snippets.

@haru01
Created July 16, 2010 22:58
Show Gist options
  • Save haru01/479033 to your computer and use it in GitHub Desktop.
Save haru01/479033 to your computer and use it in GitHub Desktop.
ruby -e 'puts $stdin.read.gsub(/method\s+([\w"]*),\s+([\w"]*)/){ "assert #{$2}, #{$1}" }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment