lib/dalli/client.rb in dalli-3.1.4 vs lib/dalli/client.rb in dalli-3.1.5

- old
+ new

@@ -84,11 +84,9 @@ ## # Get the value and CAS ID associated with the key. If a block is provided, # value and CAS will be passed to the block. def get_cas(key) (value, cas) = perform(:cas, key) - # TODO: This is odd. Confirm this is working as expected. - value = nil if !value || value == 'Not found' return [value, cas] unless block_given? yield value, cas end