From: Tobias Reif Date: 2003-09-05T04:36:26+09:00 Subject: how to get the list of all classes? Hi I'm writing a syntax highlighting program [code] for Ruby code listings in XML (eg DocBook) documents. To get the global variables I do puts Kernel.global_variables and to get the names of some common methods I do puts methods and puts Kernel.methods . How to get the names of all classes? (all built-in classes or all available) I need to get "File", "Hash", etc. Any other wordlist-returning snippets are welcome too. TIA, Tobi [code] XSLT: http://www.pinkjuice.com/howto/vimxml/xslt/tinydbk2xhtml/markup_ruby.xslt sample: http://www.pinkjuice.com/howto/vimxml/setup.xml#jing (scroll down) -- http://www.pinkjuice.com/