ERB::Compiler::SimpleScanner (Class)

In: libraries/erb.rb
Parent: Scanner

Methods

scan  

Public Instance methods

[Source]

     # File libraries/erb.rb, line 159
159:       def scan
160:         @src.each do |line|
161:           line.split(SplitRegexp).each do |token|
162:             next if token.empty?
163:             yield(token)
164:           end
165:         end
166:       end

[Validate]