method
new
rails latest stable - Class:
ActiveModel::Validations::NumericalityValidator
new(options)public
No documentation available.
# File activemodel/lib/active_model/validations/numericality.rb, line 12
def initialize(options)
super(options.reverse_merge(:only_integer => false, :allow_nil => false))
end