Method: Sequel::Plugins::ValidationClassMethods::ClassMethods::Generator#respond_to_missing?

Defined in:
lib/sequel/plugins/validation_class_methods.rb

#respond_to_missing?(meth, include_private) ⇒ Boolean

This object responds to all validates_* methods the model responds to.

Returns:

  • (Boolean)


68
69
70
# File 'lib/sequel/plugins/validation_class_methods.rb', line 68

def respond_to_missing?(meth, include_private)
  @receiver.respond_to?(:"validates_#{meth}", include_private)
end