nokogiri parse html find <li class="some-class">

9 views
Skip to first unread message

fugee ohu

unread,
Oct 8, 2018, 7:12:52 AM10/8/18
to Ruby on Rails: Talk
This code isn't right I'm trying to find <li class="some-class">
pry(main)> rows=list.css("li .some-class")

list above is a valid object already  created on a preceeding line

Colin Law

unread,
Oct 8, 2018, 9:25:13 AM10/8/18
to Ruby on Rails: Talk
Why have you posted the same question twice?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ffdd36d2-3255-4f69-9ea2-5dbe75118900%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

fugee ohu

unread,
Oct 8, 2018, 12:09:09 PM10/8/18
to Ruby on Rails: Talk


On Monday, October 8, 2018 at 9:25:13 AM UTC-4, Colin Law wrote:
Why have you posted the same question twice?

On Mon, 8 Oct 2018 at 12:13, fugee ohu <fuge...@gmail.com> wrote:
This code isn't right I'm trying to find <li class="some-class">
pry(main)> rows=list.css("li .some-class")

list above is a valid object already  created on a preceeding line



It's only up once 
Reply all
Reply to author
Forward
0 new messages