Class: DeprecationCollector::Storage::StdErr

Inherits:
Base
  • Object
show all
Defined in:
lib/deprecation_collector/storage.rb

Overview

dummy strategy that outputs every deprecation into stderr

Instance Method Summary collapse

Methods inherited from Base

#clear, #delete, #disable, #enable, #enabled?, #fetch_known_digests, #flush, #import, #initialize, #read_each, #read_one, #support_disabling?, #unsent_deprecations

Constructor Details

This class inherits a constructor from DeprecationCollector::Storage::Base

Instance Method Details

#store(deprecation) ⇒ Object



34
35
36
# File 'lib/deprecation_collector/storage.rb', line 34

def store(deprecation)
  DeprecationCollector.instance.send(:log_deprecation, deprecation)
end