Method: Sequel::Plugins::ValidationClassMethods::ClassMethods::Generator#method_missing
- Defined in:
- lib/sequel/plugins/validation_class_methods.rb
#method_missing(m, *args, &block) ⇒ Object
Delegates method calls to the receiver by calling receiver.validates_xxx.
63 64 65 |
# File 'lib/sequel/plugins/validation_class_methods.rb', line 63 def method_missing(m, *args, &block) @receiver.send(:"validates_#{m}", *args, &block) end |