method

new

rails latest stable - Class: ActiveModel::Validator
new(options = {})
public

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