On 8/30/06, Andrew Kaspick <[EMAIL PROTECTED]> wrote: > > blank? handles [] > > class Array #:nodoc: > alias_method :blank?, :empty? > end >
>> [].blank? => true >> nil.blank? => true >> "".blank? => true -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
