From: matz@... (Yukihiro Matsumoto) Date: 1999-07-14T14:21:33+09:00 Subject: [ruby-talk:00484] Re: coderefs Hi, In message "[ruby-talk:00483] coderefs" on 99/07/14, Julian R Fondren writes: |Does Ruby have the concept of an "anonymous" method, similar to Perl's |sub {} (noting the lack of a subroutine name). I want to store methods |in a hash of lists in an interactive program. I think the Proc object will do the job for you. proc = Proc.new{...} proc.call(args) You can retrieve bound method object from objects. method = obj.method(:method_name) mathod.call(args) Hope this helps. matz.