class Fastlane::Helper::FlutterAdapter

Public Instance Methods

allowed_extensions() click to toggle source
# File lib/fastlane/plugin/simple_loco/helper/simple_loco_helper.rb, line 310
def allowed_extensions
  return ['.arb']
end
default_file_name() click to toggle source
# File lib/fastlane/plugin/simple_loco/helper/simple_loco_helper.rb, line 314
def default_file_name
  return 'intl_messages_'
end
write_locale(directory, result, locale, extension, is_default) click to toggle source
# File lib/fastlane/plugin/simple_loco/helper/simple_loco_helper.rb, line 318
def write_locale(directory,
                  result, 
                  locale, 
                  extension,
                  is_default)
  path = File.join(directory, default_file_name + locale + extension)
  File.write path, result
end