Class: DevSuite::Utils::Store::Driver::Base

Inherits:
Construct::Component::Base show all
Defined in:
lib/dev_suite/utils/store/driver/base.rb

Direct Known Subclasses

File, Memory

Instance Method Summary collapse

Methods inherited from Construct::Component::Base

component_key

Instance Method Details

#clearObject

Raises:

  • (NotImplementedError)


28
29
30
# File 'lib/dev_suite/utils/store/driver/base.rb', line 28

def clear
  raise NotImplementedError, "Subclasses must implement the `clear` method"
end

#delete(key) ⇒ Object

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/dev_suite/utils/store/driver/base.rb', line 16

def delete(key)
  raise NotImplementedError, "Subclasses must implement the `delete` method"
end

#export(destination) ⇒ Object

Raises:

  • (NotImplementedError)


24
25
26
# File 'lib/dev_suite/utils/store/driver/base.rb', line 24

def export(destination)
  raise NotImplementedError, "Subclasses must implement the `export` method"
end

#fetch(key) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/dev_suite/utils/store/driver/base.rb', line 12

def fetch(key)
  raise NotImplementedError, "Subclasses must implement the `fetch` method"
end

#import(source) ⇒ Object

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/dev_suite/utils/store/driver/base.rb', line 20

def import(source)
  raise NotImplementedError, "Subclasses must implement the `import` method"
end

#set(key, value) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/dev_suite/utils/store/driver/base.rb', line 8

def set(key, value)
  raise NotImplementedError, "Subclasses must implement the `set` method"
end