Method: Vedeu::Output::CompressorCache#read

Defined in:
lib/vedeu/output/compressor_cache.rb

#read(key) ⇒ Array<void> (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • key (NilClass|Symbol)

Returns:

  • (Array<void>)


71
72
73
# File 'lib/vedeu/output/compressor_cache.rb', line 71

def read(key)
  storage.fetch(key, [])
end