Method: ActiveModel::Validator#initialize

Defined in:
lib/active_model/validator.rb

#initialize(options = {}) ⇒ Validator

Accepts options that will be made available through the options reader.



109
110
111
# File 'lib/active_model/validator.rb', line 109

def initialize(options = {})
  @options = options.freeze
end