--/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 12, 2011 at 06:22:37AM +0900, Carina C. Zona wrote: > How about DRYing it up a by fetching the value from the version info > supplied by your gem's specification? > > http://rubygems.rubyforge.org/rubygems-update/Gem/Specification.html That's the sort of thing I want to do. I'm just not sure how best to go about doing it. I mean . . . should my library read stuff from my gemspec file? That seems wrong somehow. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk69kuoACgkQ9mn/Pj01uKWU1wCgxbGM3N+XkVq4PKp34DSDV1Zr jFIAoL7OgBVX9RCmFarUTO76AmKYHa0f ßÇG -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--