lib/simple_captcha.rb in glebtv-simple_captcha-0.6.0 vs lib/simple_captcha.rb in glebtv-simple_captcha-0.6.1
- old
+ new
@@ -63,9 +63,12 @@
@@tmp_path = nil
mattr_accessor :pointsize
@@pointsize = 30
+ mattr_accessor :wave_count
+ @@wave_count = 10
+
def self.add_image_style(name, params = [])
SimpleCaptcha::ImageHelpers.image_styles.update(name.to_s => params)
end
def self.setup