We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e072392 + 12c463c commit 4f2b3ddCopy full SHA for 4f2b3dd
1 file changed
src/about_pattern_matching.rb
@@ -169,7 +169,7 @@ def test_array_pattern
169
170
# ------------------------------------------------------------------
171
172
- # 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
173
# It works with symbol keys for now
174
175
class LetterAccountant
@@ -212,4 +212,4 @@ def test_hash_pattern_with_sugar
212
assert_equal __, hash_pattern_with_sugar(LetterAccountant.new('xyz'))
213
end
214
215
-end
+end
0 commit comments