Skip to content

Instantly share code, notes, and snippets.

@r00k
Created September 7, 2011 15:36
Show Gist options
  • Save r00k/1200895 to your computer and use it in GitHub Desktop.
Save r00k/1200895 to your computer and use it in GitHub Desktop.
class Self < self.class
def self.self
self.new.self
end
def self
self.to_s + " brain asplode"
end
end
puts Self.self => "#<Self:0x00000100b48510> brain asplode"
@r00k
Copy link
Author

r00k commented Sep 7, 2011

Pull requests welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment