Class: Pione::System::FileCache::NoCacheMethod
- Inherits:
-
FileCacheMethod
- Object
- FileCacheMethod
- Pione::System::FileCache::NoCacheMethod
- Defined in:
- lib/pione/system/file-cache.rb
Overview
NoCacheMethod is a cache method for disabling file caching.
Instance Method Summary collapse
- #cached?(location) ⇒ Boolean
- #clear ⇒ Object
- #get(location) ⇒ Object
- #put(src, location) ⇒ Object
- #sync(old_location, new_location) ⇒ Object
Methods inherited from FileCacheMethod
Instance Method Details
#cached?(location) ⇒ Boolean
238 239 240 |
# File 'lib/pione/system/file-cache.rb', line 238 def cached?(location) false end |
#clear ⇒ Object
242 243 244 |
# File 'lib/pione/system/file-cache.rb', line 242 def clear # do nothing end |
#get(location) ⇒ Object
226 227 228 |
# File 'lib/pione/system/file-cache.rb', line 226 def get(location) location end |
#put(src, location) ⇒ Object
230 231 232 |
# File 'lib/pione/system/file-cache.rb', line 230 def put(src, location) # do nothing end |
#sync(old_location, new_location) ⇒ Object
234 235 236 |
# File 'lib/pione/system/file-cache.rb', line 234 def sync(old_location, new_location) # do nothing end |