qed/06_expirable.rdoc in mixers-1.1.0 vs qed/06_expirable.rdoc in mixers-1.2.0
- old
+ new
@@ -10,18 +10,18 @@
extend Expirable
end
Now the experation can be set to a Time object, or a number of seconds
from +Time.now+. For instance, to set the expiration for one second
-from now:
+from now.
X.expiration = 1
We can see the the object has not yet expired.
X.refute.expired?
-But if we wait one second.
+But if we wait one seconds.
sleep 1
Then it will have expired.