mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-13 06:43:20 -04:00
Fix typo in about_pattern_matching.rb
Fix typo in comment on line 172 of `about_pattern_matching.rb`.
This commit is contained in:
committed by
GitHub
parent
e072392099
commit
12c463c042
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user