README.markdown in enat-0.1.0 vs README.markdown in enat-0.1.1
- old
+ new
@@ -2,10 +2,13 @@
==================
It's quite simple, really - it lets you do something every specified interval of time. When supplied with a block, it
yields the iteration count (starts at zero).
+It requires 'active_support/time', so as to allow time intervals to be specified as 5.seconds, 6.7.days, etc. The 'every'
+method accepts integers or floats.
+
If the operation inside the block takes longer than the specified interval, then the next iteration will begin
immediately after the last.
To exit, simply break out of the loop.
@@ -18,10 +21,8 @@
puts "wheee! i've done this #{i} times!"
break if i > 5
end
Installation
-------------
+============
- $ bundle install
- $ gem build enat.gemspec
$ gem install enat