From: Robinson Risquez Date: 2012-05-19T02:24:16+09:00 Subject: Re: Methods as arguments? Hans Mackowiak wrote in post #1061260: > there are two ways: > > pass it as symbol: > > aaa('hello', :world) > > or pass it as method object > > aaa('hello', method(:world)) > > > depend on what you want todo > > > > PS: no " " before the "(" or you get many trouble If I pass the method world as a symbol, certainly this is not executed in the arguments, But nor is running if I invoke in the method aaa. example: def world print 'world!' end def aaa(string, method) print string method #INVOKING THE METHOD end aaa('hello', :world) What I can do?. -- Posted via http://www.ruby-forum.com/.