Sha256: 428f2a56c9372294029bd0022cd191af0b41715730de082b7e1d00b7676eea74

Contents?: true

Size: 352 Bytes

Versions: 88

Compression:

Stored size: 352 Bytes

Contents

require 'Gherkin.dll'

module Gherkin
  module CSharpLexer
    def self.[](i18n_language)
      i18n_lexer_class_name = i18n_language.gsub(/[\s-]/, '').capitalize
      puts "In C# lexer: #{i18n_lexer_class_name}"
      Gherkin::ILexer
      puts "OK1"
      l = Gherkin::Lexer.__send__(i18n_lexer_class_name)
      puts "OK2"
      l
    end
  end
end

Version data entries

88 entries across 88 versions & 1 rubygems

Version Path
gherkin-1.0.19 lib/gherkin/csharp_lexer.rb
gherkin-1.0.19-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.19-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.19-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.18 lib/gherkin/csharp_lexer.rb
gherkin-1.0.18-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.18-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.18-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.17 lib/gherkin/csharp_lexer.rb
gherkin-1.0.17-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.17-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.17-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.16 lib/gherkin/csharp_lexer.rb
gherkin-1.0.16-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.16-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.16-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.15 lib/gherkin/csharp_lexer.rb
gherkin-1.0.15-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.15-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.15-java lib/gherkin/csharp_lexer.rb