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.
113 114 115 |
# File 'lib/active_model/validator.rb', line 113 def initialize() @options = .freeze end |