| @@ -7,18 +7,19 @@ module Docs · 6 unmodified lines |
| 7 | 7 | |
| 8 | 8 | def get_type |
| 9 | 9 | case at_css('aside > ul:last-child a').content.strip |
| 10 | | − when 'DEL' then 'Keys' |
| 11 | | − when 'APPEND' then 'Strings' |
| 12 | | − when 'HDEL' then 'Hashes' |
| 13 | | − when 'BLPOP' then 'Lists' |
| 14 | | − when 'SADD' then 'Sets' |
| 15 | | − when 'ZADD' then 'Sorted Sets' |
| 16 | | − when 'PSUBSCRIBE' then 'Pub/Sub' |
| 17 | | − when 'DISCARD' then 'Transactions' |
| 18 | | − when 'EVAL' then 'Scripting' |
| 19 | | − when 'AUTH' then 'Connection' |
| 20 | | − when 'BGREWRITEAOF' then 'Server' |
| 21 | | − when 'PFADD' then 'HyperLogLog' |
| 10 | + when 'DEL' then 'Keys' |
| 11 | + when 'APPEND' then 'Strings' |
| 12 | + when 'HDEL' then 'Hashes' |
| 13 | + when 'BLPOP' then 'Lists' |
| 14 | + when 'SADD' then 'Sets' |
| 15 | + when 'ZADD' then 'Sorted Sets' |
| 16 | + when 'PSUBSCRIBE' then 'Pub/Sub' |
| 17 | + when 'DISCARD' then 'Transactions' |
| 18 | + when 'EVAL' then 'Scripting' |
| 19 | + when 'AUTH' then 'Connection' |
| 20 | + when 'BGREWRITEAOF' then 'Server' |
| 21 | + when 'PFADD' then 'HyperLogLog' |
| 22 | + when 'CLUSTER ADDSLOTS' then 'Cluster' |
| 22 | 23 | else 'Miscellaneous' |
| 23 | 24 | end |
| 24 | 25 | end |