module RailsI18n::Pluralization::OneOther

Experimental RBS support (using type sampling data from the type_fusion project).

# sig/rails_i18n/common_pluralizations/one_other.rbs

module RailsI18n::Pluralization::OneOther
  def self.rule: () -> Proc
end

def self.rule

Experimental RBS support (using type sampling data from the type_fusion project).

def self.rule: () -> Proc

This signature was generated using 1 sample from 1 application.

def self.rule
  lambda { |n| n == 1 ? :one : :other }
end

def self.with_locale(locale)

def self.with_locale(locale)
  { locale => {
      :'i18n' => {
        :plural => {
          :keys => [:one, :other],
          :rule => rule }}}}
end