Class: Hanami::View::Cache

Inherits:
Object show all
Extended by:
Dry::Core::Cache
Defined in:
lib/hanami/view/cache.rb

Overview

Shared cache for views.

Since:

  • 2.1.0

Class Method Summary collapse

Class Method Details

.clearObject

Clears the view cache.

Since:

  • 2.1.0



18
19
20
# File 'lib/hanami/view/cache.rb', line 18

def self.clear
  cache.clear
end