From: Chad Perrin Date: 2011-07-03T23:12:16+09:00 Subject: Are blocks objects? What messages can they handle? --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Stop me if I'm making any unwarranted assumptions here: Blocks are basically just a special kind of object passed to a method in Ruby -- aren't they? That makes them objects -- right? So . . . how does one send a message to the block before it is passed as an argument? Is that even possible? I ask based on curiosity and a desire to better understand the language, rather than as any kind of need to solve a real-world problem. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk4QdQIACgkQ9mn/Pj01uKV20ACghGAi8yfT2ZZH4cn7sYU3DGhH it0AnRIC2Sj3XP4lJODk0d6BLNN8AhT+ =N3aQ -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--