From: Robert Klemme Date: 2004-04-15T16:49:11+09:00 Subject: Re: Ruby's standard objects "Stephan K�mper" schrieb im Newsbeitrag news:c5kat1$2ib6o$1@ID-96582.news.uni-berlin.de... > Hi Peter, > > Peter wrote: > > Do you mean this? > > > > irb(main):001:0> Object.constants > > => ["TRUE", "SystemStackError", "RubyLex", "MatchData", "StandardError", > ...snipped some constant names... > > "VERSION"] > > > > Yes, that's exactly what I meant. Thanks a lot. > Amazing, I'm surprised again just _how_ easy things are with Ruby. > Actually, I admit that this time I'm surprised by the principle of the > least surprise (which might not be as paradox as it seems at first > sight). Matz, thanks for this language. :-) Additonally there is irb(main):001:0> global_variables => ["$-w", "$stderr", "$LOAD_PATH", "$<", "$-0", "$+", "$-p", "$$", "$-i", "$deferr", "$~", "$!", "$-v", "$stdout", "$_", "$-K", "$-F", "$SAFE", "$*", "$-I", "$/", "$'", "$-d", "$FILENAME", "$defout", "$@", "$VERBOSE", "$stdin", "$.", "$KCODE", "$;", "$binding", "$0", "$:", "$,", "$`", "$DEBUG", "$>", "$-a", "$\"", "$\\", "$=", "$-l", "$?", "$&"] Regards robert