Method: Seabright::ObjectBase::ClassMethods#describe
- Defined in:
- lib/redis_object/base.rb
#describe ⇒ Object
392 393 394 395 396 397 398 |
# File 'lib/redis_object/base.rb', line 392 def describe all_keys.inject({}) do |acc,(k,v)| acc[k.to_sym] ||= [:string, 0] acc[k.to_sym][1] += 1 acc end end |