Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/hobix/plugin/calendar.rb

Direct Known Subclasses

Hobix::Search::Simple::Contents

Instance Method Summary collapse

Instance Method Details

#uniq_cObject



46
47
48
49
50
# File 'lib/hobix/plugin/calendar.rb', line 46

def uniq_c
  ret = {}
  each { |e| ret[e] = 1 + (ret[e] || 0) }
  ret
end