Method: Moneta::Stack#clear

Defined in:
lib/moneta/stack.rb

#clear(options = {}) ⇒ void

This method returns an undefined value.

Clear all keys in this store

Parameters:

  • options (Hash) (defaults to: {})


86
87
88
89
# File 'lib/moneta/stack.rb', line 86

def clear(options = {})
  @stack.each { |s| s.clear(options) }
  self
end