Merge pull request #59 from juanhebert/patch-1

Fix typo in about_pattern_matching.rb
This commit is contained in:
Tony Schneider
2026-03-21 09:23:20 -04:00
committed by GitHub

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 # It works with symbol keys for now
class LetterAccountant class LetterAccountant
@@ -212,4 +212,4 @@ class AboutPatternMatching < Neo::Koan
assert_equal __, hash_pattern_with_sugar(LetterAccountant.new('xyz')) assert_equal __, hash_pattern_with_sugar(LetterAccountant.new('xyz'))
end end
end end