Sha256: 69db6b3434886ea3d28a5ecea42c1c9d9fe6346a9f2b2eff30eed2e7053c2c59
Contents?: true
Size: 372 Bytes
Versions: 2
Compression:
Stored size: 372 Bytes
Contents
module Scales module Storage RESOURCE_PREFIX = "scales_resource_" PARTIAL_PREFIX = "scales_partial_" autoload :Sync, "scales-core/storage/sync" autoload :Async, "scales-core/storage/async" class << self def prefix(path) (path =~ /^\//) ? RESOURCE_PREFIX + path : PARTIAL_PREFIX + path end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scales-core-0.0.1.beta.2 | lib/scales-core/storage.rb |
scales-core-0.0.1.beta.1 | lib/scales-core/storage.rb |