Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.288 kb
#
# i18n-generator: Generates i18n.json from the gherkin gem.
#
# (C) 2010 Charlie Robbins
# MIT LICENSE
#
require 'rubygems'
require 'gherkin/i18n'
require 'json'
File.open('lib/kyuri/i18n.js', 'w') { |f| f.write("exports.i18n = #{JSON.pretty_generate(Gherkin::I18n::LANGUAGES)};") }
Jump to Line
Something went wrong with that request. Please try again.