percent_line(line, &block) 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 404
      def percent_line(line, &block)
        if @stag || line[0] != %%
          return @scan_line.call(line, &block)
        end

        line[0] = ''
        if line[0] == %%
          @scan_line.call(line, &block)
        else
          yield(PercentLine.new(line.chomp))
        end
      end
Register or log in to add new notes.