class ParamsValidator::Validator::TypeInteger
Public Instance Methods
valid?(value)
click to toggle source
Calls superclass method
ParamsValidator::Validator::Type#valid?
# File lib/params_validator/validator/type.rb, line 20 def valid?(value) super || !!Integer(value) rescue false end