Method: Pre::Validator#cache_fetch

Defined in:
lib/pre/validator.rb

#cache_fetch(key, &block) ⇒ Object



37
38
39
# File 'lib/pre/validator.rb', line 37

def cache_fetch key, &block
  @options[:cache_store].fetch key, &block
end