lib/rouge/lexers/gherkin.rb in rouge-1.3.0 vs lib/rouge/lexers/gherkin.rb in rouge-1.3.1
- old
+ new
@@ -2,10 +2,12 @@
module Rouge
module Lexers
class Gherkin < RegexLexer
tag 'gherkin'
- aliases 'cucumber'
+ aliases 'cucumber', 'behat'
+
+ desc 'A business-readable spec DSL ( github.com/cucumber/cucumber/wiki/Gherkin )'
filenames '*.feature'
mimetypes 'text/x-gherkin'
def self.analyze_text(text)