Skip to content

Instantly share code, notes, and snippets.

@conmame
Created April 26, 2012 17:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save conmame/2500991 to your computer and use it in GitHub Desktop.
Save conmame/2500991 to your computer and use it in GitHub Desktop.
kaibun
# -*- coding:utf-8 -*-
class String
def kaibun
self + self[0..-2].reverse
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment