Skip to content

Instantly share code, notes, and snippets.

@pgr0ss
Created June 8, 2010 17:00
Show Gist options
  • Save pgr0ss/430309 to your computer and use it in GitHub Desktop.
Save pgr0ss/430309 to your computer and use it in GitHub Desktop.
def mask n;n.slice(0,6)+"*"*(n.size-10)+n.slice(-4,4);end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment