Fix typo in about_pattern_matching.rb

Fix typo in comment on line 172 of `about_pattern_matching.rb`.
This commit is contained in:
Juan Manuel Hébert
2026-03-18 17:56:54 -04:00
committed by GitHub
parent e072392099
commit 12c463c042

View File

@@ -169,7 +169,7 @@ class AboutPatternMatching < Neo::Koan
# ------------------------------------------------------------------
# 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 @@ class AboutPatternMatching < Neo::Koan
assert_equal __, hash_pattern_with_sugar(LetterAccountant.new('xyz'))
end
end
end