Skip to content

Commit 4f2b3dd

Browse files
authored
Merge pull request #59 from juanhebert/patch-1
Fix typo in about_pattern_matching.rb
2 parents e072392 + 12c463c commit 4f2b3dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/about_pattern_matching.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_array_pattern
169169

170170
# ------------------------------------------------------------------
171171

172-
# Hash pattern is quite the same as Array pattern, but it expects #deconsturct_keys(keys) method
172+
# Hash pattern is quite the same as Array pattern, but it expects #deconstruct_keys(keys) method
173173
# It works with symbol keys for now
174174

175175
class LetterAccountant
@@ -212,4 +212,4 @@ def test_hash_pattern_with_sugar
212212
assert_equal __, hash_pattern_with_sugar(LetterAccountant.new('xyz'))
213213
end
214214

215-
end
215+
end

0 commit comments

Comments
 (0)