Sha256: ae5234449f8d65f2da389fc89a58596bd108dba44aadfbeea2f4d3885ca7711f
Contents?: true
Size: 225 Bytes
Versions: 56
Compression:
Stored size: 225 Bytes
Contents
# frozen_string_literal: true class ReeI18n::SetLocale include Ree::FnDSL fn :set_locale contract(Or[Symbol, String] => Symbol).throws(I18n::InvalidLocale) def call(locale) I18n.locale = locale.to_sym end end
Version data entries
56 entries across 56 versions & 1 rubygems