method
scan
scan(&block)
public
Hide source
# File lib/erb.rb, line 392 def scan(&block) @stag = nil if @percent @src.each_line do |line| percent_line(line, &block) end else @scan_line.call(@src, &block) end nil end