From: ts Date: 2002-12-01T03:03:07+09:00 Subject: Re: Ruby Document >>>>> "S" == Shannon Fang writes: S> Another question is, if the above understanding is right (or wrong), what is S> the use of a Symbol? Why need a symbol? what is the difference between S> :PropFind and PropFind?? Just try it pigeon% ruby -e 'p :PropFind' :PropFind pigeon% pigeon% ruby -e 'p PropFind' -e:1: uninitialized constant PropFind (NameError) pigeon% S> I do need some documents, otherwise might keep S> harassing you people :-p "Programming Ruby" is fine for english people. http://165.193.123.250/book/index.html S> In your above example, :: and # is only used in documents? S> But in real S> program, you only use "."? Well, you can use also :: in a real program S> So in def clause within a class, if classname is S> used as above, it is class method? yes, Guy Decoux