[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:03980] Re: Pluggable functions and blocks

From: Dave Thomas <Dave@...>
Date: 2000-07-13 21:07:53 UTC
List: ruby-talk #3980
Aleksi Niemel<aleksi.niemela@cinnober.com> writes:

> But now to the point, here's the code that enables one to have a reference
> to instance's method and call it like this:

> lots of wonderful code deleted...

You could also use the built-in

    methodObject = anInstance.method( :methodName )
    methodObject.call('args')


Cheers


Dave

In This Thread

Prev Next