HTML::Tokenizer - where is it

I’m looking at the source code of ActionView and I came across this line

tokenizer = HTML::Tokenizer.new(html)

http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_view/helpers/text_helper.rb#L220

I want to see the documentation for HTML and the tokenizer method but
couldn’t find it anywhere. Obviously I’m a new to Ruby and Rails world.
Could someone let me know where I could find the documentation for the
Tokenizer method.

If I need to use the the “strip_tags” method in a non rails what do I
need
to include to have this method in my program?

Thanks

On 10/9/06, Neeraj K. [email protected] wrote:

If I need to use the the “strip_tags” method in a non rails what do I need
to include to have this method in my program?

http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_controller/vendor/html-scanner/html


Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com