Created
May 30, 2010 04:22
-
-
Save matthewd/418777 to your computer and use it in GitHub Desktop.
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 characters
| irb(main):002:0> puts ObjectSpace.each_object(Class).to_a.map {|c| begin; c.allocate; nil; rescue => ex; ex.to_s; end }.compact.sort | |
| allocator undefined for Bignum | |
| allocator undefined for Binding | |
| allocator undefined for Continuation | |
| allocator undefined for Data | |
| allocator undefined for FalseClass | |
| allocator undefined for Fixnum | |
| allocator undefined for Float | |
| allocator undefined for Integer | |
| allocator undefined for Method | |
| allocator undefined for NameError::message | |
| allocator undefined for NilClass | |
| allocator undefined for Proc | |
| allocator undefined for Struct | |
| allocator undefined for Symbol | |
| allocator undefined for Thread | |
| allocator undefined for TrueClass | |
| allocator undefined for UnboundMethod | |
| can't instantiate uninitialized class | |
| => nil | |
| irb(main):003:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment