Class: Formalism::Form::Coercion::Integer
- Defined in:
- lib/formalism/form/coercion/integer.rb
Overview
Class for coercion to Integer
Constant Summary collapse
- VALUE_REGEXP =
wrap_value_regexp '[-+]?\d+'
- CONVERSION_METHOD =
:to_i
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Formalism::Form::Coercion::Base