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.14 lib/gherkin/csharp_lexer.rb
gherkin-1.0.14-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.14-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.14-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.13 lib/gherkin/csharp_lexer.rb
gherkin-1.0.13-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.13-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.13-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.12 lib/gherkin/csharp_lexer.rb
gherkin-1.0.12-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.12-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.12-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.11 lib/gherkin/csharp_lexer.rb
gherkin-1.0.11-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.11-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.11-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.10 lib/gherkin/csharp_lexer.rb
gherkin-1.0.10-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.10-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.10-java lib/gherkin/csharp_lexer.rb