Sha256: 3e9f35f935e863cbc78f78377e98cddaac730c62e68bef0dff26c250b990cbfe

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

require 'benchmark_driver/struct'

module BenchmarkDriver
  DefaultJob = ::BenchmarkDriver::Struct.new(
    :name,       # @param [String] name
    :script,     # @param [String] benchmark
    :prelude,    # @param [String,nil] prelude (optional)
    :teardown,   # @param [String,nil] after (optional)
    :loop_count, # @param [Integer,nil] loop_count (optional)
    defaults: { prelude: '', teardown: '' },
  )
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
benchmark_driver-0.9.2 lib/benchmark_driver/default_job.rb
benchmark_driver-0.9.1 lib/benchmark_driver/default_job.rb
benchmark_driver-0.9.0 lib/benchmark_driver/default_job.rb