Sha256: 9dbeae9640a5db920cef5fa123be25ce1d2d65d1f08116a21bef4811a925aa87

Contents?: true

Size: 276 Bytes

Versions: 3

Compression:

Stored size: 276 Bytes

Contents


module FireAndForget
  class Task
    attr_reader :name, :binary, :niceness, :params

    def initialize(name, path_to_binary, default_parameters={}, niceness=0)
      @name, @binary, @params, @niceness = name, path_to_binary, default_parameters, niceness
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fire_and_forget-0.1.2 lib/fire_and_forget/task.rb
fire_and_forget-0.1.1 lib/fire_and_forget/task.rb
fire_and_forget-0.1.0 lib/fire_and_forget/task.rb