Create a new Tokenizer for the given text.
Source Code
# File action_controller/vendor/html-scanner/html/tokenizer.rb, line 25 def initialize(text) @scanner = StringScanner.new(text) @position = 0 @line = 0 @current_line = 1 end
Create a new Tokenizer for the given text.
# File action_controller/vendor/html-scanner/html/tokenizer.rb, line 25 def initialize(text) @scanner = StringScanner.new(text) @position = 0 @line = 0 @current_line = 1 end
<code/>and<pre/>for code samples.