Rubyful_soup replace element

Hi,
well, how do i replace an element with rubyful_soup ??
I tried

soup = BeautifulSoup.new(input)
elemnt = soup.find(‘quote’)
elemnt = tag(’

’)
elemnt = ‘

elemnt.replaceWith(’
’)
elemnt = BeautifulSoup.new(’
’)
elemnt = tag(BeautifulSoup.new(’
’))

but nothing…

what should i do?

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