Blank? and nil?

What is the difference:

@Table.blank? and @Table.nil?


Regards,
Luiz Vitor Martinez C. [Grabber].
(11) 8187-8662

rubz.org - engineer student at maua.br

Luiz Vitor Martinez C. wrote:

What is the difference:

@Table.blank? and @Table.nil?


Regards,
Luiz Vitor Martinez C. [Grabber].
(11) 8187-8662

rubz.org - engineer student at maua.br

nil? checks only if its nil and blank checks if its an empty string or
nil …

Thanks!

On Jan 7, 2008 12:04 AM, Michal G. <
[email protected]> wrote:

(11) 8187-8662

rubz.org - engineer student at maua.br

nil? checks only if its nil and blank checks if its an empty string or
nil …

Posted via http://www.ruby-forum.com/.


Regards,
Luiz Vitor Martinez C. [Grabber].
(11) 8187-8662

rubz.org - engineer student at maua.br

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs