Method: Redis::Distributed#type

Defined in:
lib/redis/distributed.rb

#type(key) ⇒ Object

Determine the type stored at key.



261
262
263
# File 'lib/redis/distributed.rb', line 261

def type(key)
  node_for(key).type(key)
end