So i've been trying to find a way to test an element before assigning its value (text in this case) to a variable but cant find anything like it. Tried looking in the documentation and also searching here and couldn't find anything either. Last time i did it without checking it just threw an error and stopped the script. Can somebody help me?Thank you!
--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogiri-tal...@googlegroups.com.
To post to this group, send email to nokogi...@googlegroups.com.
Visit this group at https://groups.google.com/group/nokogiri-talk.
For more options, visit https://groups.google.com/d/optout.