Sha256: 2513a37bd71bf35757b5c887b4ee1decdb42dc20defb63ff72984c0dfd1d2bdd

Contents?: true

Size: 294 Bytes

Versions: 3

Compression:

Stored size: 294 Bytes

Contents

class RCron
  # Timeout exception
  class Timeout < Exception
    attr_reader :started_at
    attr_reader :terminated_at

    def initialize(msg, started_at, terminated_at)
      super(msg)
      @started_at    = started_at
      @terminated_at = terminated_at
    end
  end#Timeout
end#RCron

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rcron-0.1.2 lib/rcron/timeout.rb
rcron-0.1.1 lib/rcron/timeout.rb
rcron-0.1.0 lib/rcron/timeout.rb