From: Eric Hodel Date: 2003-01-06T16:44:47+09:00 Subject: Re: Compatibility (was Class.inherited) --GJ7e10BhKqIkML+d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Phil Tomson (ptkwt@shell1.aracnet.com) wrote: > And, if changes must be made that break code perhaps we should offer=20 > compatibility modules, something like: >=20 > #Say I'm running 1.8, but I want it to act like 1.6*: > require 'ruby_1.6' >=20 >=20 > ....or some similar mechanism.=20 > Or, what about a command line option? Here's one that goes the other way... [23:42] drbrain@asx:~$ uname FreeBSD [23:42] drbrain@asx:~$ m /usr/ports/lang/ruby16-shim-ruby18/pkg-descr=20 Ruby Shim is a set of modules that provide the libraries and the additional features that will appear in the next version of Ruby. Shim between 1.6 and 1.8 includes: features/ruby18 Hooks to support ruby 1.8 extensions dl Interface to dynamic linker racc-runtime Racc runtime module stringio IO interface for String strscan Fast string scanner benchmark Benchmark module fileutils File & directory manipulation optparse Advanced command line option parser pp Pretty printer (prettier version of `p') set Set class tsort Topological sorter --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --GJ7e10BhKqIkML+d Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+GTPtMypVHHlsnwQRAnVYAKC/73FFhSCiv3ekcOjzR7CVF4o2FgCfblXk IQ5lJ9Iyok1d2ogqzCIEwiI= =jh9q -----END PGP SIGNATURE----- --GJ7e10BhKqIkML+d--