lib/rouge/lexers/awk.rb in rouge-2.2.1 vs lib/rouge/lexers/awk.rb in rouge-3.0.0

- old
+ new

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