Class: SwitchDb::Command::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/switch_db/command/base.rb

Direct Known Subclasses

Config, List, Restore, Rm, Store

Instance Method Summary collapse

Constructor Details

#initialize(reference_set:) ⇒ Base

Returns a new instance of Base.



4
5
6
# File 'lib/switch_db/command/base.rb', line 4

def initialize(reference_set:)
  @reference_set = reference_set
end

Instance Method Details

#run(_arguments = {}) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/switch_db/command/base.rb', line 8

def run(_arguments = {})
  raise NotImplementedError, 'not implemented yet'
end