Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove ImmutableDrip::INF

  • Loading branch information...
commit b0e178b00b432c3cf63830211a49cbf57fce2664 1 parent ced6e16
@seki authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/drip.rb
View
5 lib/drip.rb
@@ -5,6 +5,8 @@
class Drip
include DRbUndumped
+ INF = 1.0/0.0
+
def inspect; to_s; end
class ImmutableDrip
@@ -36,8 +38,6 @@ def generate
end
end
- INF = 1.0/0
-
def initialize(pool=[], tag=[])
@pool = pool
@tag = tag
@@ -479,7 +479,6 @@ def synchronize
@event.write([:last, last])
end
- INF = 1.0/0.0
def wait(key, renewer)
@event.read([:last, key+1 .. INF], renewer)[1]
end
Please sign in to comment.
Something went wrong with that request. Please try again.