Sha256: 235cedee0609f8447f3c4eb7423d563c6814f192ab03b47b7586a7bc7aac418c

Contents?: true

Size: 267 Bytes

Versions: 16

Compression:

Stored size: 267 Bytes

Contents

module ProconBypassMan
  module Websocket
    class Watchdog
      def self.outdated?
        @@time < Time.now
      end

      def self.time
        @@time
      end

      def self.active!
        @@time = Time.now + 100
      end

      active!
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.7 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.3.6 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.3.5 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.3.4 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.3.3.1 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.3.3 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.3.2 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.3.1 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.3.0 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.2.3 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.2.2 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.2.1 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.2.0 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.1.23 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.1.22 lib/procon_bypass_man/websocket/watchdog.rb
procon_bypass_man-0.1.21 lib/procon_bypass_man/websocket/watchdog.rb