Skip to content

Commit

Permalink
Improve fallback comment
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Jul 23, 2020
1 parent 29b85c8 commit 17244f7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/backend/fallbacks_test.rb
Expand Up @@ -133,10 +133,9 @@ class I18nBackendFallbacksWithCustomClass < I18n::TestCase
class BackendWithFallbacks < I18n::Backend::Simple
include I18n::Backend::Fallbacks
end

# Quacks like a fallback class
class MyDefaultFallback
# this is a stupid change
# but it shows that you can use any object as fallback
# when you override the access method
def [](key)
[:my_language]
end
Expand Down

0 comments on commit 17244f7

Please sign in to comment.