lib/rouge/lexers/gherkin.rb in rouge-3.18.0 vs lib/rouge/lexers/gherkin.rb in rouge-3.19.0
- old
+ new
@@ -17,10 +17,10 @@
return true if text.shebang? 'cucumber'
end
# self-modifying method that loads the keywords file
def self.keywords
- load File.join(Lexers::BASE_DIR, 'gherkin/keywords.rb')
+ Kernel::load File.join(Lexers::BASE_DIR, 'gherkin/keywords.rb')
keywords
end
def self.step_regex
# in Gherkin's config, keywords that end in < don't