Sha256: ec59ec4c82e8e9a5dbcd81951af181e2e7bd3b30177e14d9fada8e1cfa09024f

Contents?: true

Size: 235 Bytes

Versions: 18

Compression:

Stored size: 235 Bytes

Contents

require 'gherkin.jar'

module Gherkin
  module JavaLexer
    def self.[](i18n_language)
      i18n_lexer_class_name = i18n_language.gsub(/[\s-]/, '').capitalize
      Java::GherkinLexer.__send__(i18n_lexer_class_name)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
gherkin-1.0.2-i386-mswin32 lib/gherkin/java_lexer.rb
gherkin-1.0.2-i386-mingw32 lib/gherkin/java_lexer.rb
gherkin-1.0.2-java lib/gherkin/java_lexer.rb
gherkin-1.0.2 lib/gherkin/java_lexer.rb
gherkin-1.0.1-i386-mswin32 lib/gherkin/java_lexer.rb
gherkin-1.0.1-i386-mingw32 lib/gherkin/java_lexer.rb
gherkin-1.0.1-universal-java-1.5 lib/gherkin/java_lexer.rb
gherkin-1.0.1 lib/gherkin/java_lexer.rb
gherkin-1.0.0-i386-mingw32 lib/gherkin/java_lexer.rb
gherkin-1.0.0-i386-mswin32 lib/gherkin/java_lexer.rb
gherkin-1.0.0-universal-java-1.5 lib/gherkin/java_lexer.rb
gherkin-1.0.0 lib/gherkin/java_lexer.rb
gherkin-0.0.4-universal-java-1.5 lib/gherkin/java_lexer.rb
gherkin-0.0.4-i386-mswin32 lib/gherkin/java_lexer.rb
gherkin-0.0.4-i386-mingw32 lib/gherkin/java_lexer.rb
gherkin-0.0.4 lib/gherkin/java_lexer.rb
gherkin-0.0.3-universal-java-1.5 lib/gherkin/java_lexer.rb
gherkin-0.0.3 lib/gherkin/java_lexer.rb