From: 7stud 7stud Date: 2007-03-12T12:20:13+09:00 Subject: Re: string to int: ruby documentation? The docs wrote: >>Integer( arg ) -> anInteger >>....If arg is a String Gary Wright wrote: > being raised. If you provide arguments that *don't* meet the > pre-conditions of a method, well then you may or may not get an > exception > but it is really your problem in either case because you violated the > pre-condition and all bets are off. I gave Integer() a string and it threw an exception. -- Posted via http://www.ruby-forum.com/.