Skip to content

Instantly share code, notes, and snippets.

@orodriguez

orodriguez/la.rb Secret

Created April 29, 2013 22:29
Show Gist options
  • Save orodriguez/5207964c9d89c01ae443 to your computer and use it in GitHub Desktop.
Save orodriguez/5207964c9d89c01ae443 to your computer and use it in GitHub Desktop.
String.extend PalindromeString do
palindrome = "12312 43234".parse
end
"123413 23452345".parse #=> NoMethodError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment