From: Piotr Szotkowski Date: 2010-08-26T22:49:44+09:00 Subject: Re: Initialise --3O1VwFp74L81IIeR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Iain Barnett: > Being English and able to spell proper like, innit, I find I'm > creating a lot of stupid errors by writing `def initialise` > a lot. :) > I tried this: > class Object > alias :initialise :initialize > end > but it didn't work. It definitely does work =E2=80=93 you can start using #initialise instead of #initialize in your code. Note that it doesn=E2=80=99t make other code (not= ably, BasicObject.new) call #initialise all of a sudden, which is probably what you=E2=80=99d rather have, innit? (You probably want to redeclare BasicObject.new, except you probably don=E2=80=99t want to, not *really*.) =E2=80=94 Piotr Szotkowski --=20 phrases that shouldn=E2=80=99t exist on the web: read more after the jump skip this ad remember me on this computer page 1 of # [Faruk Ate=C5=9F] --3O1VwFp74L81IIeR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkx2cO0ACgkQi/mCfdEo8UrnxwCfWPudH1f+v2h783s6l7fasroQ RyIAoJJfBnp7RA9juiWmSSkSdHIpPmTP =Sq1r -----END PGP SIGNATURE----- --3O1VwFp74L81IIeR--