Sha256: 38726e1ef1b95ffe914c76e4e5ecc80ccb96f167cb61eeda854c6060b378f966
Contents?: true
Size: 294 Bytes
Versions: 17
Compression:
Stored size: 294 Bytes
Contents
module ExCite module ResourceKey def self.included(klass) klass.class_eval do attr_writer :resource_key end end # Construct a resource key if it doesn't already exist def resource_key @resource_key ||= Digest::SHA1.hexdigest(_data) end end end
Version data entries
17 entries across 17 versions & 1 rubygems