method
scan

scan()
public
Hide source
# File lib/erb.rb, line 502 def scan @src.scan(/(.*?)(#{(stags + etags).join('|')}|\n|\z)/) do |tokens| tokens.each do |token| next if token.empty? yield(token) end end end