Hazins, Kalman | 12 Jul 2011 19:22
Favicon

alias - error in documentation

All, 

I believe I found an error in the documentation for a ruby keyword - alias.

The documentation, under 1.9 keywords link=> alias, states that

p.full_name = "David"   # Please use fullname=

I believe the comment is incorrect. The full_name= is still referencing the old name= definition and not
the newly defined one. 

(I have of course verified my hypothesis by actually running the code.)

Hope this is useful, 

-Kalman Hazins


Gmane