Skip to content

Instantly share code, notes, and snippets.

@hmadison
Last active August 29, 2015 14:23
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 hmadison/6ef75b64418e75db2538 to your computer and use it in GitHub Desktop.
Save hmadison/6ef75b64418e75db2538 to your computer and use it in GitHub Desktop.
Palindrome
BEGIN { eval(%x[cat #{__FILE__} | rev]) } # ) } # } )]ver | }__ELIF__{# tac[x%(lave { NIGEB
class K #M eludom
include M #thgir fed
def left #" I" tnirp
puts "palindrome " # dne
end # thgir: noitcnuf_eludom
end # dne
K.new.left # thgir.M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment