module Ewigkeks
Constants
- VERSION
Public Class Methods
cache_path()
click to toggle source
# File lib/ewigkeks.rb, line 36 def cache_path '/%s/%s' % [scope, 'cache'] end
configure(options = {}) { |self| ... }
click to toggle source
# File lib/ewigkeks.rb, line 8 def configure(options = {}, &block) options.each do |key, value| public_send("#{key}=", value) end yield(self) if block_given? end
etag_path()
click to toggle source
# File lib/ewigkeks.rb, line 44 def etag_path '/%s/%s' % [scope, 'etag'] end
js_class()
click to toggle source
# File lib/ewigkeks.rb, line 16 def js_class @@js_class ||= 'evercookie' end
png_path()
click to toggle source
# File lib/ewigkeks.rb, line 28 def png_path '/%s/%s' % [scope, 'png'] end
scope()
click to toggle source
# File lib/ewigkeks.rb, line 20 def scope @@scope ||= 'ewigkeks' end
scope=(scope)
click to toggle source
# File lib/ewigkeks.rb, line 24 def scope=(scope) @@scope = scope.sub(/\A\/*/, '') end