Da Pondelok 13 Februr 2006 01:03 Phrogz napsal:
> How about returning multiple values?
>
> def valid?
>    [ @is_valid_flag, @error_message ]
> end

Wouldn't ever evaluate as false, which means all the predicates would have to 
be true on a failure, which might be a bit confusing - I prefer to code 
assertively if possible.

David Vallner