Sha256: 12558fe86a23e7f31b39a27471ebf170f367d16a0b094f5f14203b2f8402b705
Contents?: true
Size: 559 Bytes
Versions: 12
Compression:
Stored size: 559 Bytes
Contents
module Aigu class Exporter def initialize(opts = {}) @output_file = opts[:'output-file'] @input_directory = opts[:'input-directory'] @locale = opts[:locale] @ignore = opts[:ignore] end def process! puts "Generating Accent JSON file `#{@output_file}` based on localization files in `#{@input_directory}` directory" if @ignore print 'Ignoring ' puts @ignore.join(', ') end puts '---' build_output write_json_file puts '---' puts 'Done' end end end
Version data entries
12 entries across 12 versions & 1 rubygems