module I18n

def interpolate(string, values)

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

def interpolate: (String string, Hash values) -> untyped

This signature was generated using 1 sample from 1 application.

Missing argument's logic is handled by I18n.config.missing_interpolation_argument_handler.
Return String or raises MissingInterpolationArgument exception.
def interpolate(string, values)
  raise ReservedInterpolationKey.new($1.to_sym, string) if string =~ I18n.reserved_keys_pattern
  raise ArgumentError.new('Interpolation values must be a Hash.') unless values.kind_of?(Hash)
  interpolate_hash(string, values)
end