--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This code parses in 1.9.1, but not in 1.9.2.  Is this a bug, or expected
behavior?

    $ cat t2.rb=20
    class Foo
      bar =3D 'asdf'
      define_method "foo_#{bar.gsub /\W/, ''}" do
      end
    end
    $ ruby1.9 -v
    ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10]
    $ ruby1.9 -c t2.rb=20
    Syntax OK
    $ ~/.local/bin/ruby -v
    ruby 1.9.2dev (2010-04-17 trunk 27378) [x86_64-darwin10.2.0]
    $ ~/.local/bin/ruby -c t2.rb=20
    t2.rb:3: syntax error, unexpected keyword_do, expecting keyword_end
    $

--=20
Aaron Patterson
http://tenderlovemaking.com/

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iQEcBAEBAgAGBQJLygQPAAoJEJUxcLy0/6/GGmcH/0Ez7HqIEKf0erEMHisuALk/
klbjeFoaH7va7k7zQu5YzCRCN63GE3ijgc21jvk9m6LEfywzJwSunRbv6TYoekc8
jNAV6glxIXs0Oxc2uU+5d+31t/4yE8jiAiHwVz9ciCj8pjNvMEJIF1/+ks0vr1DI
9uEaTdTph2gTYlH7w6YzY3gJFXdUDrP279Uw7Aap8N53hkFSljywBFWm6DfU/r1B
NwGaC24LvGo/PI/p36OAi3netQtFJoqlFEUx1Z7ZkeRqYg2G52bIqMrqtWpOKFfX
p4/ZqE7mbjnicdYJJGTyUMx/cxKWwFQW6O/ldKHJgC4mu+Sn2xHWlBsvNEKZYqc=
=LMZ5
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--

This code parses in 1.9.1, but not in 1.9.2.  Is this a bug, or expected
behavior?

    $ cat t2.rb=20
    class Foo
      bar =3D 'asdf'
      define_method "foo_#{bar.gsub /\W/, ''}" do
      end
    end
    $ ruby1.9 -v
    ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10]
    $ ruby1.9 -c t2.rb=20
    Syntax OK
    $ ~/.local/bin/ruby -v
    ruby 1.9.2dev (2010-04-17 trunk 27378) [x86_64-darwin10.2.0]
    $ ~/.local/bin/ruby -c t2.rb=20
    t2.rb:3: syntax error, unexpected keyword_do, expecting keyword_end
    $

--=20
Aaron Patterson
http://tenderlovemaking.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iQEcBAEBAgAGBQJLygQPAAoJEJUxcLy0/6/GGmcH/0Ez7HqIEKf0erEMHisuALk/
klbjeFoaH7va7k7zQu5YzCRCN63GE3ijgc21jvk9m6LEfywzJwSunRbv6TYoekc8
jNAV6glxIXs0Oxc2uU+5d+31t/4yE8jiAiHwVz9ciCj8pjNvMEJIF1/+ks0vr1DI
9uEaTdTph2gTYlH7w6YzY3gJFXdUDrP279Uw7Aap8N53hkFSljywBFWm6DfU/r1B
NwGaC24LvGo/PI/p36OAi3netQtFJoqlFEUx1Z7ZkeRqYg2G52bIqMrqtWpOKFfX
p4/ZqE7mbjnicdYJJGTyUMx/cxKWwFQW6O/ldKHJgC4mu+Sn2xHWlBsvNEKZYqc=
=LMZ5
-----END PGP SIGNATURE-----