Class: DeprecationCollector::Storage::Base

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

Overview

:nodoc:

Direct Known Subclasses

ActiveRecord, Redis, StdErr

Instance Method Summary collapse

Constructor Details

#initializeBase

rubocop:disable Style/SingleLineMethods



10
# File 'lib/deprecation_collector/storage.rb', line 10

def initialize(**); end

Instance Method Details

#clear(enable: false) ⇒ Object



20
# File 'lib/deprecation_collector/storage.rb', line 20

def clear(enable: false); end

#delete(digests) ⇒ Object



19
# File 'lib/deprecation_collector/storage.rb', line 19

def delete(digests); end

#disableObject



14
# File 'lib/deprecation_collector/storage.rb', line 14

def disable; end

#enableObject



13
# File 'lib/deprecation_collector/storage.rb', line 13

def enable; end

#enabled?Boolean

Returns:

  • (Boolean)


12
# File 'lib/deprecation_collector/storage.rb', line 12

def enabled?; true; end

#fetch_known_digestsObject



17
# File 'lib/deprecation_collector/storage.rb', line 17

def fetch_known_digests; end

#flushObject



21
# File 'lib/deprecation_collector/storage.rb', line 21

def flush(**); end

#import(_dump) ⇒ Object



28
# File 'lib/deprecation_collector/storage.rb', line 28

def import(_dump); end

#read_eachObject



25
# File 'lib/deprecation_collector/storage.rb', line 25

def read_each; end

#read_one(_digest) ⇒ Object



26
# File 'lib/deprecation_collector/storage.rb', line 26

def read_one(_digest); [nil] * 4 end

#store(_deprecation) ⇒ Object



23
# File 'lib/deprecation_collector/storage.rb', line 23

def store(_deprecation); raise("Not implemented"); end

#support_disabling?Boolean

Returns:

  • (Boolean)


11
# File 'lib/deprecation_collector/storage.rb', line 11

def support_disabling?; false; end

#unsent_deprecationsObject



16
# File 'lib/deprecation_collector/storage.rb', line 16

def unsent_deprecations; []; end