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.



112
113
114
# File 'lib/active_model/validator.rb', line 112

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