From: "Marcin Mielżyński" Date: 2006-07-28T04:35:05+09:00 Subject: Re: Prevent class instantiation from the initialize method? Dave Mihalik wrote: class Testclass def initialize() raise "Instantiation cancelled." end end begin mytest = Testclass.new() rescue Exception => e puts e exit 1 end puts "Instantiation not cancelled." rescue/ensure must have it's own begin clause lopex