From: Ryan Davis Date: 2007-11-12T19:09:30+09:00 Subject: Re: does Ruby has method properties On Nov 12, 2007, at 00:35 , Thilina Buddhika wrote: > In java script it is possible to something like this, > method.outputType = "string"; > > we are setting the return type of the method. Is this possible in > Ruby? > > i searched in the google and found this. > > http://bias2build.com/thesis/ruby_v_js_MP.html > > it says that this is not possible in Ruby. > > i wanna confirm this. Confirmed. There is virtually no metadata about a method available to the public. Arity is about the only one I can think of.