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