On 12/20/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:

  link = $ie.link(:class => 'addtocart', :is_after? => headline)


This would make sense to me (no question mark)

link = $ie.link(:class => 'addtocart', :after => headline)

"By convention, methods that answer questions (i.e. Array#empty? returns *
true* if the receiver is empty) end in question marks." (
http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)

This is not a method, but this convention really makes sense to me, so I
expect anything that ends with question mark to return true or false. Why
did you use question mark?
--
Zeljko Filipin
zeljkofilipin.com
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to