Sha256: e7e3f921c9a79e9a65fef991582add80f9764c9a3235dc893e149ecf3f504642

Contents?: true

Size: 112 Bytes

Versions: 4

Compression:

Stored size: 112 Bytes

Contents

module Polling
  module Sleep
    def self.exec stime
      stime > 0 ? (sleep stime) : false
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
polling-0.1.5 lib/polling/sleep.rb
polling-0.1.3 lib/polling/sleep.rb
polling-0.1.2 lib/polling/sleep.rb
polling-0.1.1 lib/polling/sleep.rb