From: 7stud -- Date: 2007-11-14T16:15:57+09:00 Subject: Re: does Ruby has method properties 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. Really? Care to provide an example? > 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. > It's not possible in javascript either. -- Posted via http://www.ruby-forum.com/.