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

From: ts <decoux@...>
Date: 2000-07-06 12:08:18 UTC
List: ruby-talk #3869
>>>>> "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 
[...]
D>      public :globalBurp
D>      puts globalBurp, "\n"

 Try

#       public :globalBurp
        puts self.globalBurp, "\n"


Guy Decoux


In This Thread