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

From: ts <decoux@...>
Date: 2000-07-06 15:21:36 UTC
List: ruby-talk #3877
>>>>> "D" == Dave Thomas <Dave@thomases.com> writes:

D>          puts global.globalBurp     # <<<<<<<<<<<<<

  it work fine with 1.4

pigeon% /usr/bin/ruby b.rb
#<Object: @burp="blop">
blop

now I expect fish to (blobal) burp, which means 'blop'
#<Object: @burp="blop">
blop
pigeon% 

 but not with 1.5 :

pigeon% ruby/1.5/ruby/ruby b.rb
#<Object:0x40173d30 @burp="blop">
blop

now I expect fish to (blobal) burp, which means 'blop'
b.rb:7:in `burp': private method `globalBurp' called for #<Object:0x40173d30> (NameError)
        from b.rb:21
pigeon% 


Guy Decoux


In This Thread

Prev Next