From: Aleksey V Zapparov Date: 2012-07-02T04:27:04+09:00 Subject: Re: Question on Learning Ruby the Hard Way --Sig_/RYzyiLyGyecVpuKydQueYf9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 2 Jul 2012 03:58:41 +0900 Michael Sung wrote: > One more quick question. >=20 >=20 > I think I understand the creation of a method object: >=20 > room =3D method(next_room) >=20 >=20 > But why does the next line say: >=20 > next_room =3D room.call() >=20 >=20 > Instead of just calling the method object "room" which we just > created like this: >=20 > room.call() Because `room` in this case is not a method, but an object. --=20 Sincerely yours, Aleksey V. Zapparov A.K.A. ixti FSF Member #7118 Mobile Phone: +34 677 990 688 Homepage: http://www.ixti.net JID: zapparov@jabber.ru *Origin: Happy Hacking! --Sig_/RYzyiLyGyecVpuKydQueYf9 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJP8KSCAAoJEGRO9nGLm9Y8p2YH/i2uQvTTNlSkUPP0zAAkUlLu O93LupgId7cYnLfgRMacQRAhoim3LNEPgjMexzQFHqsYXy5UpQwVsJxEhU5MCwHM OUk1sAh/KwUYmmm1nqp7vRmIZM0kLZfrjjCHYfNZGRzhkWR5jCTJvLUvNx0TxCTd wIhCZqlXZu66tiiSNQHtHH7eUNqdQsJFKpxPZWv+QK+SVNI+XO/Mu+K2b6Gwl0Fq cV69utQg+2x7EvFF1sLxl98dIHXuC9ZBJbBfy2AG9djx4MsbEfI+LcJkObD8IvYY kffhd7B8QFPLqqlQ8ZX4aRcjcfzQv1sH2nR13JtTGLgN6hETekj6I8YzdIcEKjc= =Nmsj -----END PGP SIGNATURE----- --Sig_/RYzyiLyGyecVpuKydQueYf9--