Sha256: 56683087cba87698f00199b8be47c99423ab34eb92b1496bc2bc414b78487ed6

Contents?: true

Size: 451 Bytes

Versions: 5

Compression:

Stored size: 451 Bytes

Contents

require "baleen/task/task"

module Baleen
  module Task
    class Generic < Baleen::Task::Base

      def initialize(opt)
        super()
        @params[:shell]          = opt[:shell]       ||="/bin/bash"
        @params[:opt]            = opt[:opt]         ||="-c"
        @params[:work_dir]       = opt[:work_dir]    ||="./"
        @params[:image]          = opt[:image]
        @params[:command]        = opt[:command]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
baleen-0.2.3 lib/baleen/task/generic.rb
baleen-0.2.2 lib/baleen/task/generic.rb
baleen-0.2.1 lib/baleen/task/generic.rb
baleen-0.2.0 lib/baleen/task/generic.rb
baleen-0.1.2 lib/baleen/task/generic.rb