From: Girard Fred Date: 2007-12-07T19:18:17+09:00 Subject: Re: function like "function_exits" Alex Young wrote: > Girard Fred wrote: >>> >> Thanks a lot Peter, it's the answer i m looking for;) >> Just one thing: >> a method, for me, is 'function or procedure' from an object >> a function (standalone one) is some instructions that returns a result >> a procedure (standalone one) execute instructions without necessary >> returns result >> >> It wrong or old scool ?;) > > In Ruby, it is not possible for a function to exist without being > attached to an object; all functions are methods. Also, every method > returns a value; all procedures are functions. this explains that:) Thank you all -- Posted via http://www.ruby-forum.com/.