Created
April 26, 2012 17:03
-
-
Save conmame/2500991 to your computer and use it in GitHub Desktop.
kaibun
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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