diff options
| author | mo khan <mo.khan@gmail.com> | 2020-08-25 14:33:01 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-08-25 14:33:01 -0600 |
| commit | 61783db9f3efb76b0aa888d71792e71b962b5c7b (patch) | |
| tree | 760d751757918681df1dbf5f43c2301e3ae29ab3 | |
| parent | 239be7af9e28dd7402c8ec002428f012845c5442 (diff) | |
Remove extra map
| -rw-r--r-- | misc/cards/main.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cards/main.rb b/misc/cards/main.rb index 075a3b1..508f1be 100644 --- a/misc/cards/main.rb +++ b/misc/cards/main.rb @@ -46,7 +46,7 @@ class Solution for q in (p+1...cards.size) z = cache[cards[q]] if x.match?(y, z) - return [x, y, z].map(&:to_s).join(' ') + return [x, y, z].join(' ') end end end |
