From: James Edward Gray II Date: 2007-03-28T21:56:22+09:00 Subject: Re: general question (different between methods and function On Mar 28, 2007, at 7:51 AM, Dave Rose wrote: > Jamal Soueidan wrote: >> Thats what I meant, functions is used without the object, and are >> called >> direct, whereas the methods is used with the object. >> >> puts "this is a function" >> >> File.puts "this is object.method" >> >> Is this how everyone see it or do many people have different >> opinion on >> this >> subject? > > ...no! wait a second... isn't a standalone function really an object? Yes, in Ruby it's always messages being passed to objects. This is just a name we use for the call style. It's still a method call. James Edward Gray II