--OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 05, 2011 at 12:30:47PM +0900, Josh Cheek wrote: > On Mon, Apr 4, 2011 at 7:12 PM, 7stud -- <bbxx789_05ss / yahoo.com> > wrote: > > > > Here is an example that might prove illustrative: > > > > if 1 > 10 > > x = 'hello' #never executes > > end > > > > puts x #=> nil > > puts y #=> undefined local variable or method `y' > > #for main:Object (NameError) > > Good thought. I'm honestly surprised that works! I guess it must add x > to the symbol table at parse time. Is that something we should be able to depend on, though -- or just an accident of implementation? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk2bJboACgkQ9mn/Pj01uKWElgCgtUrkXolJ+qQaayrVacfJPCqv CK4AoKMFbE6N/Hn5x5uaWGROp4EJ/BTf ヨ ュュュュュナホト ミヌミ モノヌホチヤユメナュュュュュ ュュマリフオヌメヌナラルュュ