Sha256: 60601c1b4a3debf0d5f287126bb7c5acd55eac0c7394d1d2f3e332325278cf5d
Contents?: true
Size: 335 Bytes
Versions: 4
Compression:
Stored size: 335 Bytes
Contents
module OneshotSpec class FooPlugin < Observed::Observer default :timeout_in_milliseconds => 5000 default :number_of_trials => 10 def sample sleep_duration = rand / 20 sleep sleep_duration "Foo #{sleep_duration}" end def logger Logger.new(STDOUT) end plugin_name 'foo' end end
Version data entries
4 entries across 4 versions & 1 rubygems