From: Kent Dahl Date: 2001-09-23T11:42:30+09:00 Subject: [ruby-talk:21576] Re: What's the "Data" class? Don't we need a namespace for standard classes? Christian Szegedy wrote: > > Ryo Furue wrote: > > > class. I looked into the pickaxe Ruby book but couldn't find it. > > Don't you use Gtk? I think it defines a data class in the main module... Doesn't seem to be the culprit: [kentda@v128a kentda]$ ruby --version ruby 1.6.4 (2001-06-04) [i586-linux-gnu] [kentda@v128a kentda]$ irb irb(main):001:0> Data.methods ["superclass", "<=", "instance_method", "class_eval", "module_eval", "private_class_method", "public_class_method", "method_defined?", "class_variables", "const_defined?", "const_set", "const_get", "constants", "private_instance_methods", "protected_instance_methods", "public_instance_methods", "instance_methods", "ancestors", "name", "included_modules", "to_s", "dup", "clone", "<=>", "<", "===", ">", ">=", "respond_to?", "kind_of?", "private_methods", "methods", "frozen?", "taint", "type", "eql?", "instance_eval", "extend", "==", "method", "is_a?", "instance_variables", "public_methods", "to_a", "tainted?", "class", "hash", "__send__", "=~", "singleton_methods", "untaint", "id", "nil?", "display", "instance_of?", "protected_methods", "inspect", "freeze", "__id__", "equal?", "send"] irb(main):002:0> -- <[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]> )____(stud.techn.;ind.�k.data)||(softwareDeveloper.at(Trustix))_( /"Opinions expressed are mine and not those of my Employer, "\ ( "the University, my girlfriend, stray cats, banana fruitflies, " ) \"nor the frontal lobe of my left cerebral hemisphere. "/