Skip to content

Instantly share code, notes, and snippets.

@eval
Last active February 28, 2017 17:29
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 eval/66f7bfaf17d364ddd232 to your computer and use it in GitHub Desktop.
Save eval/66f7bfaf17d364ddd232 to your computer and use it in GitHub Desktop.
micro-gem-single
Gem::Specification.new do |s|
s.name = 'rot13'
s.version = '0.0.1'
s.require_path = '.'
s.summary = 'Some summary'
end
class String
def rot13
each_char.map{|c| (c.ord + 13).chr }.join
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment