Sha256: 4e7d5278a50c3804eee164990feb3005ae6d8e1e8b1721ac0b120f046ec11901

Contents?: true

Size: 308 Bytes

Versions: 4

Compression:

Stored size: 308 Bytes

Contents

module Inflections
  ActiveSupport::Inflector.inflections(:nb) do |inflect|
    inflect.clear

    inflect.plural(/$/, 'er')
    inflect.plural(/r$/i, 're')
    inflect.plural(/e$/i, 'er')

    inflect.singular(/er$/i, '')
    inflect.singular(/re$/i, 'r')

    inflect.irregular('konto', 'konti')
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inflections-4.1.0 lib/inflections/nb.rb
inflections-4.0.1 lib/inflections/nb.rb
inflections-4.0.0 lib/inflections/nb.rb
inflections-4.0.0.beta1 lib/inflections/nb.rb