Sha256: 6c4436e40e011c589d1f5c5a20e421a4714b8b502081d9e3c364f203bd5719ae
Contents?: true
Size: 356 Bytes
Versions: 11
Compression:
Stored size: 356 Bytes
Contents
module Cucumber module Gherkin module I18n class << self def code_keyword_for(gherkin_keyword) gherkin_keyword.gsub(/[\s',!]/, '').strip end def code_keywords_for(gherkin_keywords) gherkin_keywords.reject { |kw| kw == '* ' }.map { |kw| code_keyword_for(kw) } end end end end end
Version data entries
11 entries across 11 versions & 2 rubygems