Sha256: 217c0a7723a8e393534a3e0b97abb7ed66708c516c5a6478ac51573c0b5830a6
Contents?: true
Size: 363 Bytes
Versions: 6
Compression:
Stored size: 363 Bytes
Contents
module OneshotSpec class FooPlugin < Observed::Observer plugin_name 'foo' default timeout_in_milliseconds: 5000 default number_of_trials: 10 def observe sleep_duration = rand / 20 sleep sleep_duration system.report(tag, "Foo #{sleep_duration}") end def logger @logger ||= Logger.new(STDOUT) end end end
Version data entries
6 entries across 6 versions & 2 rubygems