Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

OpenStruct functionality for Page objects

#1

It would be great to be able to do this:

anemone.on_every_page do |page|
  page.h1 = (page.body).at('h1').inner_html
end

Probably this can be accomplished by including OpenStruct in Page, and throwing in a little hpricot magic.

Reported by chris (at chriskite) · June 10th, 2009 @ 04:56 PM

State: resolved
Milestone: none
Assigned to: chris (at chriskite) chris (at chriskite)

Activity

  1. chris (at chriskite)
    chris (at chriskite)
    • State changed from new to resolved

    June 13th, 2009 @ 02:02 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.