From 12c463c042883f8fd92f52502760b9a13feaeccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20H=C3=A9bert?= Date: Wed, 18 Mar 2026 17:56:54 -0400 Subject: [PATCH] Fix typo in about_pattern_matching.rb Fix typo in comment on line 172 of `about_pattern_matching.rb`. --- src/about_pattern_matching.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/about_pattern_matching.rb b/src/about_pattern_matching.rb index 065e100b..e329109f 100644 --- a/src/about_pattern_matching.rb +++ b/src/about_pattern_matching.rb @@ -169,7 +169,7 @@ def test_array_pattern # ------------------------------------------------------------------ - # Hash pattern is quite the same as Array pattern, but it expects #deconsturct_keys(keys) method + # Hash pattern is quite the same as Array pattern, but it expects #deconstruct_keys(keys) method # It works with symbol keys for now class LetterAccountant @@ -212,4 +212,4 @@ def test_hash_pattern_with_sugar assert_equal __, hash_pattern_with_sugar(LetterAccountant.new('xyz')) end -end \ No newline at end of file +end