Sha256: 3ab90efda8815709d209f0432e3f65a2982f5c8c2f71d5445a7a77aa8978cb44
Contents?: true
Size: 560 Bytes
Versions: 4
Compression:
Stored size: 560 Bytes
Contents
module Inflections class Railtie < Rails::Railtie initializer 'inflections.require_inflections' do begin require "inflections/#{Rails.configuration.i18n.default_locale}" rescue LoadError => e if Rails.configuration.i18n.default_locale.nil? warn "Inflections: no default locale set. Defaulting to English (en)." else warn "Inflections: no support for #{Rails.configuration.i18n.default_locale}. Defaulting to English (en)." require 'inflections/en' end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems