Class: Thrust::Tasks::Autotag::Create

Inherits:
Object
  • Object
show all
Defined in:
lib/thrust/tasks/autotag/create.rb

Instance Method Summary collapse

Constructor Details

#initialize(executor = Thrust::Executor.new) ⇒ Create

Returns a new instance of Create.



5
6
7
# File 'lib/thrust/tasks/autotag/create.rb', line 5

def initialize(executor = Thrust::Executor.new)
  @executor = executor
end

Instance Method Details

#run(stage) ⇒ Object



9
10
11
# File 'lib/thrust/tasks/autotag/create.rb', line 9

def run(stage)
  @executor.capture_output_from_system("autotag create #{stage}")
end