Method: Sequel::Plugins::ValidationClassMethods::ClassMethods::Generator#initialize
- Defined in:
- lib/sequel/plugins/validation_class_methods.rb
#initialize(receiver, &block) ⇒ Generator
Initializes a new generator.
57 58 59 60 |
# File 'lib/sequel/plugins/validation_class_methods.rb', line 57 def initialize(receiver ,&block) @receiver = receiver instance_exec(&block) end |