lib/rouge/formatter.rb in rouge-2.0.0 vs lib/rouge/formatter.rb in rouge-2.0.1

- old
+ new

@@ -51,10 +51,10 @@ raise 'abstract' end protected def token_lines(tokens, &b) - return enum_for(:lines, tokens) unless block_given? + return enum_for(:token_lines, tokens) unless block_given? out = [] tokens.each do |tok, val| val.scan /\n|[^\n]+/ do |s| if s == "\n"