Re: alias - error in documentation
Roger Pack <[email protected]> Tue, 12 Jul 2011 19:57:59 -0600
| Newsgroups | gmane.comp.lang.ruby.documentation |
|---|---|
| Message-ID | <CAL1QdWfRGpMA0ajmC3J7zsaWBM+m_-+MMg_xia8MMnC=QwpGyg@mail.gmail.com> |
I'd recommend creating and submitting a patch with the change. http://blog.steveklabnik.com/2011/05/10/contributing-to-ruby-s-documentatio= n.html Cheers! -roger- On Tue, Jul 12, 2011 at 11:22 AM, Hazins, Kalman <[email protected]> wrote: > All, > > I believe I found an error in the documentation for a ruby keyword - alia= s. > > The documentation, under 1.9 keywords link=3D> alias, states that > > p.full_name =3D "David" =A0 # Please use fullname=3D > > I believe the comment is incorrect. The full_name=3D is still referencing= the old name=3D 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 > >