Sha256: 91d4f5ebf1cc9892a642d35a9b47d0a514090d8a5e3932424e458b79e67454e1
Contents?: true
Size: 430 Bytes
Versions: 4
Compression:
Stored size: 430 Bytes
Contents
# frozen_string_literal: true require 'active_model' require 'ostruct' module FileValidators extend ActiveSupport::Autoload autoload :Error autoload :MimeTypeAnalyzer end Dir[File.dirname(__FILE__) + '/file_validators/validators/*.rb'].each { |file| require file } locale_path = Dir.glob(File.dirname(__FILE__) + '/file_validators/locale/*.yml') I18n.load_path += locale_path unless I18n.load_path.include?(locale_path)
Version data entries
4 entries across 3 versions & 2 rubygems