Zhenning said:
I read a class like this.what's the description work for?
class Employee
=C2=A0description "xxxxxxxx"
=C2=A0#some code continue here
end
Well, it's not part of ruby core/stdlib, but it seems to be an instance met=
hod=20
of Module or Class (or maybe Object) that, judging by its name, stores the=
=20
description of a class/module (or maybe object) and presumably allows you t=
o=20
acces this description from a documentationt or source code browser of some=
=20
sort - or something like that.
HTH,
Sebastian
=2D-=20
Jabber: (e-mail address removed)
ICQ: 205544826