Class: EasyCaptcha::Generator::Base
- Inherits:
-
Object
- Object
- EasyCaptcha::Generator::Base
- Defined in:
- lib/easy_captcha/generator/base.rb
Overview
base class for generators
Direct Known Subclasses
Instance Method Summary collapse
-
#defaults ⇒ Object
default values for generator.
-
#initialize {|_self| ... } ⇒ Base
constructor
generator for captcha images.
Constructor Details
#initialize {|_self| ... } ⇒ Base
generator for captcha images
8 9 10 11 |
# File 'lib/easy_captcha/generator/base.rb', line 8 def initialize defaults yield self if block_given? end |
Instance Method Details
#defaults ⇒ Object
default values for generator
14 |
# File 'lib/easy_captcha/generator/base.rb', line 14 def defaults; end |