Permalink
Browse files

remove ImmutableDrip::INF

  • Loading branch information...
seki committed Mar 27, 2013
1 parent ced6e16 commit b0e178b00b432c3cf63830211a49cbf57fce2664
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/drip.rb
View
@@ -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

0 comments on commit b0e178b

Please sign in to comment.