Skip to content

Instantly share code, notes, and snippets.

@maxim
Forked from radar/gary.rb
Created October 4, 2012 04:51
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 maxim/3831539 to your computer and use it in GitHub Desktop.
Save maxim/3831539 to your computer and use it in GitHub Desktop.
["a b.c d.e"[/\.(\S+)$/, 1].split('.'), $`].reverse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment