lib/rouge/lexers/awk.rb in rouge_ecl-0.0.1 vs lib/rouge/lexers/awk.rb in rouge_ecl-1.0.0

- old
+ new

@@ -8,11 +8,11 @@ tag 'awk' filenames '*.awk' mimetypes 'application/x-awk' - def self.detect?(text) - return true if text.shebang?('awk') + def self.analyze_text(text) + return 1 if text.shebang?('awk') end id = /[$a-zA-Z_][a-zA-Z0-9_]*/ def self.keywords