From: Peter Bunyan Date: 2007-12-07T16:35:54+09:00 Subject: Re: function like "function_exits" > Thanks for your answer Robert. > It's not a method but a simple function like > def foo() > #some code > end > > is there something like : > functions.exist?('foo') A method and a function are the same thing. Also, check this out. def foo puts "Foo is being called." end methods.include? "foo" => true method("foo").call "Foo is being called." -- Posted via http://www.ruby-forum.com/.