= private = protected
new(text)
Create a new Tokenizer for the given text.
# File actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb, line 25 def initialize(text) text.encode! if text.encoding_aware? @scanner = StringScanner.new(text) @position = 0 @line = 0 @current_line = 1 end