Sha256: 756e7f1bd35f3dba5f4bd46c2cd661b02c1e232c24d9ee7b728b86869cecb554
Contents?: true
Size: 488 Bytes
Versions: 8
Compression:
Stored size: 488 Bytes
Contents
module Jets class Inflections class << self def load! ActiveSupport::Inflector.inflections(:en) do |inflect| base_inflections.each do |k,v| inflect.irregular k,v end # Users can add custom inflections Jets.config.inflections.irregular.each do |k,v| inflect.irregular k,v end end end def base_inflections { sns: 'sns' } end end end end
Version data entries
8 entries across 8 versions & 1 rubygems