Skip to content

Commit 17244f7

Browse files
committed
Improve fallback comment
1 parent 29b85c8 commit 17244f7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/backend/fallbacks_test.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,9 @@ class I18nBackendFallbacksWithCustomClass < I18n::TestCase
133133
class BackendWithFallbacks < I18n::Backend::Simple
134134
include I18n::Backend::Fallbacks
135135
end
136+
137+
# Quacks like a fallback class
136138
class MyDefaultFallback
137-
# this is a stupid change
138-
# but it shows that you can use any object as fallback
139-
# when you override the access method
140139
def [](key)
141140
[:my_language]
142141
end

0 commit comments

Comments
 (0)