Class: Hpricot::Text

Inherits:
Object
  • Object
show all
Defined in:
lib/html-cleaner.rb

Overview

blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/207625

Subject: A simple Hpricot text setter
From: Chris Gehlker <canyonrat mac.com>
Date: Fri, 11 Aug 2006 03:19:13 +0900

Instance Method Summary (collapse)

Instance Method Details

- (Object) set(string)

:nodoc:



187
188
189
# File 'lib/html-cleaner.rb', line 187

def set(string)
  @content = string
end