lib/rubyonacid/factories/loop.rb in rubyonacid-0.1.2 vs lib/rubyonacid/factories/loop.rb in rubyonacid-0.2.0
- old
+ new
@@ -2,9 +2,10 @@
module RubyOnAcid
class LoopFactory < Factory
+ #The amount to increment counters by.
attr_accessor :interval
def interval=(value)
raise "assigned #{value} to interval, must be between -1 and 1" if value < -1 or value > 1
@interval = value
end
\ No newline at end of file