From: Konrad Meyer Date: 2007-11-08T17:19:13+09:00 Subject: Re: Dynamic syntax check --nextPart2556966.nQQeyrAso7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Quoth aemadrid@gmail.com: > Is there any way to check the Ruby syntax on a file or string of Ruby > code besides doing something like `ruby -v xyz.rb`? Is there a gem > that would help me here? >=20 > Thanks in advance, >=20 >=20 > Adrian Madrid IIRC there's some sort of hack you can do with the 'defined?' keyword. But= =20 you'll have to google around. HTH, =2D-=20 Konrad Meyer http://konrad.sobertillnoon.com/ --nextPart2556966.nQQeyrAso7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHMsZkCHB0oCiR2cwRAuCMAKDQp7fMtxuh/irtAaZezmKXyAwfugCfUoe0 j72VGXsHgdWJr4Qd7QQdrVg= =AulR -----END PGP SIGNATURE----- --nextPart2556966.nQQeyrAso7--