Sha256: 9d30ea46754933e857b0e33f8882c5c792999f90bdee74fc674936d27140b998
Contents?: true
Size: 263 Bytes
Versions: 31
Compression:
Stored size: 263 Bytes
Contents
# frozen_string_literal: true class ReeI18n::CheckLocaleExists include Ree::FnDSL fn :check_locale_exists contract(String, Nilor[Or[String, Symbol]] => Bool) def call(value, locale = nil) I18n.exists?(value, locale || I18n.default_locale) end end
Version data entries
31 entries across 31 versions & 1 rubygems