Skip to content

Instantly share code, notes, and snippets.

@threeifbywhiskey
Created March 19, 2014 18:32
Show Gist options
  • Save threeifbywhiskey/9648201 to your computer and use it in GitHub Desktop.
Save threeifbywhiskey/9648201 to your computer and use it in GitHub Desktop.
This is a Church-enabled script that prints the ROT-13 transformation of each line of standard input.
require 'church'
include Church, Church::Utils
$_ = JOIN[MAP[CHARS[$_], &ROT13], '']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment