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.24 lib/gherkin/csharp_lexer.rb
gherkin-1.0.24-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.24-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.24-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.23 lib/gherkin/csharp_lexer.rb
gherkin-1.0.23-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.23-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.23-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.22 lib/gherkin/csharp_lexer.rb
gherkin-1.0.22-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.22-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.22-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.21 lib/gherkin/csharp_lexer.rb
gherkin-1.0.21-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.21-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.21-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.20 lib/gherkin/csharp_lexer.rb
gherkin-1.0.20-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.20-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.20-java lib/gherkin/csharp_lexer.rb