Module: Ohm::NumberValidations

Included in:
ExtraValidations
Defined in:
lib/ohm/contrib/number_validations.rb

Overview

This module will include all numeric validation needs. As of VERSION 0.0.27, Ohm::NumberValidations#assert_decimal is the only method provided.

Constant Summary collapse

DECIMAL_REGEX =
/^(\d+)?(\.\d+)?$/