Module: Gherkin::RbLexer

Defined in:
lib/gherkin/rb_lexer.rb,
lib/gherkin/rb_lexer/ar.rb,
lib/gherkin/rb_lexer/bg.rb,
lib/gherkin/rb_lexer/ca.rb,
lib/gherkin/rb_lexer/cs.rb,
lib/gherkin/rb_lexer/da.rb,
lib/gherkin/rb_lexer/de.rb,
lib/gherkin/rb_lexer/en.rb,
lib/gherkin/rb_lexer/eo.rb,
lib/gherkin/rb_lexer/es.rb,
lib/gherkin/rb_lexer/et.rb,
lib/gherkin/rb_lexer/fi.rb,
lib/gherkin/rb_lexer/fr.rb,
lib/gherkin/rb_lexer/he.rb,
lib/gherkin/rb_lexer/hr.rb,
lib/gherkin/rb_lexer/hu.rb,
lib/gherkin/rb_lexer/id.rb,
lib/gherkin/rb_lexer/it.rb,
lib/gherkin/rb_lexer/ja.rb,
lib/gherkin/rb_lexer/ko.rb,
lib/gherkin/rb_lexer/lt.rb,
lib/gherkin/rb_lexer/lu.rb,
lib/gherkin/rb_lexer/lv.rb,
lib/gherkin/rb_lexer/nl.rb,
lib/gherkin/rb_lexer/no.rb,
lib/gherkin/rb_lexer/pl.rb,
lib/gherkin/rb_lexer/pt.rb,
lib/gherkin/rb_lexer/ro.rb,
lib/gherkin/rb_lexer/ru.rb,
lib/gherkin/rb_lexer/sk.rb,
lib/gherkin/rb_lexer/sv.rb,
lib/gherkin/rb_lexer/tr.rb,
lib/gherkin/rb_lexer/uk.rb,
lib/gherkin/rb_lexer/uz.rb,
lib/gherkin/rb_lexer/vi.rb,
lib/gherkin/rb_lexer/cy_gb.rb,
lib/gherkin/rb_lexer/en_au.rb,
lib/gherkin/rb_lexer/en_tx.rb,
lib/gherkin/rb_lexer/zh_cn.rb,
lib/gherkin/rb_lexer/zh_tw.rb,
lib/gherkin/rb_lexer/en_lol.rb,
lib/gherkin/rb_lexer/sr_cyrl.rb,
lib/gherkin/rb_lexer/sr_latn.rb,
lib/gherkin/rb_lexer/en_pirate.rb,
lib/gherkin/rb_lexer/en_scouse.rb

Defined Under Namespace

Classes: Ar, Bg, Ca, Cs, Cy_gb, Da, De, En, En_au, En_lol, En_pirate, En_scouse, En_tx, Eo, Es, Et, Fi, Fr, He, Hr, Hu, Id, It, Ja, Ko, Lt, Lu, Lv, Nl, No, Pl, Pt, Ro, Ru, Sk, Sr_cyrl, Sr_latn, Sv, Tr, Uk, Uz, Vi, Zh_cn, Zh_tw

Class Method Summary collapse

Class Method Details

.[](i18n_underscored_iso_code) ⇒ Object



3
4
5
6
# File 'lib/gherkin/rb_lexer.rb', line 3

def self.[](i18n_underscored_iso_code)
  require "gherkin/rb_lexer/#{i18n_underscored_iso_code}"
  const_get(i18n_underscored_iso_code.capitalize)
end