Last active
December 19, 2015 19:08
Revisions
-
rafer revised this gist
Jul 15, 2013 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # coding: utf-8 # Can ruby have method names have newlines/be crazy? class BadKitty -
rafer revised this gist
Jul 15, 2013 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -14,3 +14,4 @@ class BadKitty end BadKitty.new.send(BadKitty::FACE) puts BadKitty.new.methods # Well shit. -
rafer created this gist
Jul 15, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ # Can ruby have method names have newlines/be crazy? class BadKitty FACE = " |\\_/| / @ @ \\ ( > º < ) `>>x<<´ / O \\ " define_method(FACE) do puts "BAD KITTY" end end BadKitty.new.send(BadKitty::FACE)