module Deliver::Loader

Constants

ALL_LANGUAGES
APPLE_TV_DIR_NAME

The directory 'appleTV' and `iMessage` are special folders that will cause our screenshot gathering code to iterate through it as well searching for language folders.

DEFAULT_DIR_NAME
IMESSAGE_DIR_NAME

Public Class Methods

language_folders(root) click to toggle source
# File lib/deliver/loader.rb, line 12
def self.language_folders(root)
  Dir.glob(File.join(root, '*')).select do |path|
    File.directory?(path) && ALL_LANGUAGES.include?(File.basename(path).downcase)
  end.sort
end