From: Chinna Karuppan Date: 2008-03-15T01:15:13+09:00 Subject: Re: How to Read Ruby API / Documentation :NUBY I know there are methods like private_methods, protected_methods, instance_methods.I don't want to everytime call these methods... Also How do I know which is a instance method/ class method....don't tell me :: is the class method and #/. is the instance method.Why does it not show properly on the API... THnks Chinna Karuppan wrote: > Hi, > I have some background in java.and the api is nicely defined...in terms > of what is public,protected and private.I was trying to use the > define_method in one of my class and it would not work because it is > private(but that is not point here.the point how to know which all > methods are for public use and which is protected and which is > private--> not for consumers of the library)...can some body tell as to > how to read the api ( I am using http://www.ruby-doc.org/core/) or am I > missing something??? > THnks > CHinna -- Posted via http://www.ruby-forum.com/.