Class: Lackie::CacheBuster

Inherits:
Object
  • Object
show all
Defined in:
lib/lackie/cache_buster.rb

Class Method Summary collapse

Class Method Details

.unique_stringObject



3
4
5
6
# File 'lib/lackie/cache_buster.rb', line 3

def self.unique_string
  @@unique_number ||= 0
  "#{@@unique_number += 1}#{Time.now.to_i}"
end