On Wed, 18 Feb 2004 13:39:50 +0100, Robert Klemme wrote:
> "Szymon Drejewicz" <drejewic / wsisiz.edu.pl> schrieb im Newsbeitrag
> news:c0vhrk$if$1 / portraits.wsisiz.edu.pl...
>> How to raise warning?
> 
> Do you mean:
> 
> How to raise an exception?  ("raise Exception, msg")
> 
> How to print out a warning? ("$stderr.puts "This is a warning")
> 

There is also #warn

server> irb
irb(main):001:0> warn("hello")
hello
=> nil
irb(main):002:0>


--
Simon Strandgaard