module Validations::Predicates::Decimal::Methods
Public Instance Methods
decimal?(input)
click to toggle source
# File lib/endpoint_flux/tasks/endpoint_flux/generators/endpoint_flux/validations/predicates/decimal.rb, line 7 def decimal?(input) begin true if BigDecimal(input) rescue ArgumentError, TypeError false end end