Class: VisitCounter::Key

Inherits:
Object
  • Object
show all
Defined in:
lib/visit-counter/key.rb

Class Method Summary collapse

Class Method Details

.key(object, method) ⇒ Object



3
4
5
# File 'lib/visit-counter/key.rb', line 3

def self.key(object, method)
  "visit_counter::#{object.class.to_s}::#{object.id}::#{method}"
end