Class: DelegateValidation::AlwaysValidValidator

Inherits:
Validator
  • Object
show all
Defined in:
app/models/delegate_validation.rb

Overview

A simple validator that is always assumed to be valid.

Instance Method Summary collapse

Methods inherited from Validator

delegate_attribute, #initialize, name

Methods included from Validateable

append_features, #method_missing, #validate!

Constructor Details

This class inherits a constructor from DelegateValidation::Validator

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Validateable

Instance Method Details

#valid?Boolean

Returns:

  • (Boolean)


80
81
82
# File 'app/models/delegate_validation.rb', line 80

def valid?
  true
end