Class: Serverkit::Actions::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/serverkit/actions/base.rb

Direct Known Subclasses

Apply, Check, Inspect, Validate

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Base

Returns a new instance of Base.

Parameters:

  • argv (Array)

    Command-line arguments given to serverkit executable



13
14
15
# File 'lib/serverkit/actions/base.rb', line 13

def initialize(argv)
  @argv = argv
end

Instance Method Details

#callObject



17
18
19
20
# File 'lib/serverkit/actions/base.rb', line 17

def call
  setup
  run
end