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