[#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:03875] Re: main.method

From: ts <decoux@...>
Date: 2000-07-06 14:39:17 UTC
List: ruby-talk #3875
>>>>> "D" == Dave Thomas <Dave@thomases.com> writes:

D> A second problem is that methods defined at the top-level are private, 
D> so they cannot be called with a receiver, so you can't go messing with 
      ^^^^^^^^^^^^^^^^^^^^^
[...]
>> #       public :globalBurp
   ^
   |
[...]
D> Or am I missing something?
 
  You don't need to add the line :

       public :globalBurp

 Your example work fine, without this line


Guy Decoux




In This Thread