Class: Wrest::CacheProxy::NullCacheProxy
- Inherits:
-
Object
- Object
- Wrest::CacheProxy::NullCacheProxy
- Defined in:
- lib/wrest/cache_proxy.rb
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(get) ⇒ NullCacheProxy
constructor
A new instance of NullCacheProxy.
Constructor Details
#initialize(get) ⇒ NullCacheProxy
Returns a new instance of NullCacheProxy.
16 17 18 |
# File 'lib/wrest/cache_proxy.rb', line 16 def initialize(get) @get = get end |
Instance Method Details
#get ⇒ Object
20 21 22 |
# File 'lib/wrest/cache_proxy.rb', line 20 def get @get.invoke_without_cache_check end |