Class: Aigu::AndroidImporter
- Defined in:
- lib/aigu/android_importer.rb
Constant Summary collapse
- ARRAY_REGEX =
/__ARRAY_ITEM__#(?<index>\d+)$/- TYPE_REGEX =
/__@TYPE_(?<type_key>.+)$/
Instance Method Summary collapse
Methods inherited from Importer
Constructor Details
This class inherits a constructor from Importer
Instance Method Details
#process! ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/aigu/android_importer.rb', line 6 def process! puts "Generating Android XML files in `#{@output_directory}` based on Accent-generated `#{@input_file}` file" puts '---' parse_json @blob = split_res_types(@object) write_xml_files puts '---' puts 'Done' end |