class BabelBot::Runner
Public Class Methods
new(config)
click to toggle source
# File lib/babel_bot/runner.rb, line 10 def initialize(config) @config = config end
Public Instance Methods
generate_strings()
click to toggle source
# File lib/babel_bot/runner.rb, line 14 def generate_strings twine_file_path = @config['twineFilePath'] csv = BabelBot::CSVLoader.new(@config).load BabelBot::TwineGenerator.new(csv, twine_file_path).generate system "twine generate-all-string-files #{twine_file_path} #{@config['projectLocalesPath']}" end