From: "Mauricio Fernández" Date: 2003-04-03T07:15:33+09:00 Subject: Re: [ANN] Uninheritable 1.0 On Thu, Apr 03, 2003 at 05:00:14AM +0900, Austin Ziegler wrote: > Uninheritable provides a simple way to make a class uninheritable > (unable to be subclassed from). While the technique to do this is > not difficult, neither is it immediately obvious, and there is no > standard exception for this. Is it like that? module Uninheritable def inherited(klass) raise TypeError end end -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Yes I have a Machintosh, please don't scream at me. -- Larry Blumette on linux-kernel