lib/rubyonacid/factories/sine.rb in rubyonacid-0.2.0 vs lib/rubyonacid/factories/sine.rb in rubyonacid-0.3.0
- old
+ new
@@ -1,10 +1,12 @@
require 'rubyonacid/factory'
module RubyOnAcid
+#Produces a "wave" pattern.
class SineFactory < Factory
+ #Counters used to calculate sine values will be incremented by this amount with each query.
attr_accessor :interval
def initialize(interval = 0.1)
super
@counters = {}
\ No newline at end of file