aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/json/encoding_test_cases.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/json/encoding_test_cases.rb')
-rw-r--r--activesupport/test/json/encoding_test_cases.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/json/encoding_test_cases.rb b/activesupport/test/json/encoding_test_cases.rb
index 8eac246937..b2f0cf3048 100644
--- a/activesupport/test/json/encoding_test_cases.rb
+++ b/activesupport/test/json/encoding_test_cases.rb
@@ -23,7 +23,7 @@ module JSONTest
end
end
- class MyStruct < Struct.new(:name, :value)
+ MyStruct = Struct.new(:name, :value) do
def initialize(*)
@unused = "unused instance variable"
super