2 Commits

Author SHA1 Message Date
Tony Schneider
4f2b3dd18e Merge pull request #59 from juanhebert/patch-1
Fix typo in about_pattern_matching.rb
2026-03-21 09:23:20 -04:00
Juan Manuel Hébert
12c463c042 Fix typo in about_pattern_matching.rb
Fix typo in comment on line 172 of `about_pattern_matching.rb`.
2026-03-18 17:56:54 -04:00

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