Submit
Path:
~
/
/
lib
/
ruby
/
vendor_ruby
/
sprockets
/
cache
/
File Content:
null_store.rb
module Sprockets class Cache # Public: A compatible cache store that doesn't store anything. Used by # default when no Environment#cache is configured. # # Assign the instance to the Environment#cache. # # environment.cache = Sprockets::Cache::NullStore.new # # See Also # # ActiveSupport::Cache::NullStore # class NullStore # Public: Simulate a cache miss. # # This API should not be used directly, but via the Cache wrapper API. # # key - String cache key. # # Returns nil. def get(key) nil end # Public: Simulate setting a value in the cache. # # This API should not be used directly, but via the Cache wrapper API. # # key - String cache key. # value - Object value. # # Returns Object value. def set(key, value) value end # Public: Pretty inspect # # Returns String. def inspect "#<#{self.class}>" end end end end
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
file_store.rb
5002 bytes
0644
memory_store.rb
1651 bytes
0644
null_store.rb
1053 bytes
0644
N4ST4R_ID | Naxtarrr