Class: OsCtl::Image::Operations::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/osctl/image/operations/base.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.run(*args) ⇒ Object



3
4
5
6
# File 'lib/osctl/image/operations/base.rb', line 3

def self.run(*args)
  op = new(*args)
  op.execute
end

Instance Method Details

#executeObject

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/osctl/image/operations/base.rb', line 8

def execute
  raise NotImplementedError
end