lib/aigu/importer.rb in aigu-0.3 vs lib/aigu/importer.rb in aigu-0.3.1
- old
+ new
@@ -1,11 +1,11 @@
module Aigu
class Importer
ARRAY_REGEX = /___KEY___(?<index>\d+)$/
def initialize(opts = {})
- @input_file = opts[:input_file]
- @output_directory = opts[:output_directory]
+ @input_file = opts[:'input-file']
+ @output_directory = opts[:'output-directory']
@locale = opts[:locale]
end
def process!
puts "Generating YAML files in `#{@output_directory}` based on Accent-generated `#{@input_file}` file"