private Method

Tokenizer.scan_text

Scan all text up to the next < character and return it.

Source Code

# File action_controller/vendor/html-scanner/html/tokenizer.rb, line 68
def scan_text
  "#{@scanner.getch}#{@scanner.scan(/[^<]*/)}"
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.