Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Print out only errors : ObjectSpace « Reflection « Ruby
Ruby
Reflection
ObjectSpace
Print out only errors
ObjectSpace.each_object(Class) { |x| puts x
if
x.name =~ /Error$/ }
Related examples in the same category
1.
Print out all exceptions
2.
ObjectSpace.each_object