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.9 lib/gherkin/csharp_lexer.rb
gherkin-1.0.9-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.9-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.9-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.8 lib/gherkin/csharp_lexer.rb
gherkin-1.0.8-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.8-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.8-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.7 lib/gherkin/csharp_lexer.rb
gherkin-1.0.7-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.7-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.7-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.6 lib/gherkin/csharp_lexer.rb
gherkin-1.0.6-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.6-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.6-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.5-i386-mswin32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.5-i386-mingw32 lib/gherkin/csharp_lexer.rb
gherkin-1.0.5-java lib/gherkin/csharp_lexer.rb
gherkin-1.0.5 lib/gherkin/csharp_lexer.rb