# File lib/gherkin/c_lexer.rb, line 5 5: def self.[](i18n_underscored_iso_code) 6: begin 7: prefix = Config::CONFIG['arch'] =~ /mswin|mingw/ ? "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}/" : '' 8: lib = "#{prefix}gherkin_lexer_#{i18n_underscored_iso_code}" 9: require lib 10: const_get(i18n_underscored_iso_code.capitalize) 11: rescue LoadError => e 12: e.message << %{\nCouldn't load #{lib}\nThe $LOAD_PATH was:\n#{$LOAD_PATH.join("\n")}} 13: raise e 14: end 15: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.