Flowdock
method

scan_line

Importance_0
scan_line(line) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/erb.rb, line 417
      def scan_line(line)
        line.scan(/(.*?)(<%%|%%>|<%=|<%#|<%|%>|\n|\z)/) do |tokens|
          tokens.each do |token|
            next if token.empty?
            yield(token)
          end
        end
      end
Register or log in to add new notes.