Basic functionality for global locale setter in place
Adding a global locale setter
with_locale now returns yielded value, added spec
Removing pry requires
Returning nil for register_locale_fallback
Ensuring that with_locale changes locale back even on error, using Array#reverse_each for fallback iteration instead of complicated down_to logic
Adding a global locale setter
with_locale now returns yielded value, added spec
Ensuring that with_locale changes locale back even on error, using Array#reverse_each for fallback iteration instead of complicated down_to logic
Modifying with_locale to not blow up if the user passes an unsupported locale
Basic functionality for global locale setter in place
Adding a global locale setter
with_locale now returns yielded value, added spec
Removing pry requires
Returning nil for register_locale_fallback
Ensuring that with_locale changes locale back even on error, using Array#reverse_each for fallback iteration instead of complicated down_to logic
Adding a global locale setter
with_locale now returns yielded value, added spec
Ensuring that with_locale changes locale back even on error, using Array#reverse_each for fallback iteration instead of complicated down_to logic
Modifying with_locale to not blow up if the user passes an unsupported locale