Skip to content

Instantly share code, notes, and snippets.

@titanous
Created June 8, 2010 18:20
Show Gist options
  • Save titanous/430430 to your computer and use it in GitHub Desktop.
Save titanous/430430 to your computer and use it in GitHub Desktop.
def mask n;n[0,6]+'*'*(n.size-10)+n[-4,4]end
@titanous
Copy link
Author

titanous commented Jun 9, 2010

Very nicely done.

@pritchie
Copy link

pritchie commented Jun 9, 2010

Thanks, working on that was a great way to wake myself up this morning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment