Skip to content

Instantly share code, notes, and snippets.

/ruby Secret

Created May 28, 2015 14:31
Show Gist options
  • Save anonymous/7974045b7752957b02e5 to your computer and use it in GitHub Desktop.
Save anonymous/7974045b7752957b02e5 to your computer and use it in GitHub Desktop.
dat_forretas.at_css('.col2 .dealfrom')
=> #<Nokogiri::XML::Element:0xffade8 name="p" attributes=[#<Nokogiri::XML::Attr:0xfface4 name="class" value="dealfrom">] children=[#<Nokogiri::XML::Text:0xff9c04 "\r\n\t\t\t\t\t\t\t">, #<Nokogiri::XML::Element:0xff98d0 name="span" attributes=[#<Nokogiri::XML::Attr:0xff96a0 name="class" value="labeloff">, #<Nokogiri::XML::Attr:0xff968c name="style" value="background-color: #02aafc">] children=[#<Nokogiri::XML::Text:0xffc198 "\r\n\t\t\t\t\t\t\t\t0% Desconto">]>, #<Nokogiri::XML::Text:0xffb310 " |\r\n\t\t\t\t\t\t\tPor:\r\n\t\t\t\t\t\t\t">, #<Nokogiri::XML::Element:0xffe970 name="strong" children=[#<Nokogiri::XML::Text:0xffdd7c "\r\n\t\t\t\t\t\t\t\tLetsBonus">]>]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment