From: Josef 'Jupp' SCHUGT Date: 2004-02-20T05:56:44+09:00 Subject: Re: how to raise warning? Hi! * Robert Klemme: > warn "#{__FILE__}:#{__LINE__}: there is an error" If it is an error it raises an exception. A warning is used when there is doubt wether something is wanted: warn "#{__FILE__}:#{__LINE__}: no config file, using defaults" As a rule of thumb a warning can be replaced by an 'Are you sure?' dialog. Josef 'Jupp' SCHUGT -- http://oss.erdfunkstelle.de/ruby/ - German comp.lang.ruby FAQ http://rubyforge.org/users/jupp/ - Ruby projects at Rubyforge