From 1d42da2055ad0d843472da2366f79bb6ac0a95d6 Mon Sep 17 00:00:00 2001 From: Michael Grosser Date: Mon, 6 Jan 2025 11:48:41 -0800 Subject: [PATCH] formatting + docs --- lib/fast_gettext.rb | 25 +++++++++++++------------ spec/fast_gettext/vendor/string_spec.rb | 13 ++++++------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/fast_gettext.rb b/lib/fast_gettext.rb index d794ec0..c469837 100644 --- a/lib/fast_gettext.rb +++ b/lib/fast_gettext.rb @@ -28,19 +28,20 @@ def self.add_text_domain(name, options) translation_repositories[name] = TranslationRepository.build(name, options) end + # deprecated, just a crutch to migrate to new api def self.allow_invalid_keys! - eval(<1}).should == "%{typo} xxx" - - # cleanup - eval(<