Re: Posix Pangrams (#97)

puts (doc/“p.tent/i”).map{|i|i.inner_html}
Actually…I can’t get Hpricot to install to test your code
(gem server
seems to be down) but doesn’t that grab way more information than you
wanted from the table? The table headers and all columns, too?

Oh, nevermind. I’m not familiar with Hpricot’s syntax. I read that line
as a case-insensitive regexp match with some poorly-placed quotes, not
an xpath-like expression that looks for the italic tag inside p.tent
elements.

Sorry for impugning your Hpricot skillz. :slight_smile:

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