Sha256: 65eccd2b0310ef1cf8183033cc3d4bf40fbd256c777cb6108cbfd514a837bac2

Contents?: true

Size: 108 Bytes

Versions: 10

Compression:

Stored size: 108 Bytes

Contents

# frozen_string_literal: true

class CurrencyValidator < BaseValidator

  REGEXP = /^\d*+(\.\d{1,2})$/

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lite-validators-1.8.0 lib/lite/validators/currency_validator.rb
lite-validators-1.7.2 lib/lite/validators/currency_validator.rb
lite-validators-1.7.1 lib/lite/validators/currency_validator.rb
lite-validators-1.7.0 lib/lite/validators/currency_validator.rb
lite-validators-1.6.0 lib/lite/validators/currency_validator.rb
lite-validators-1.5.0 lib/lite/validators/currency_validator.rb
lite-validators-1.4.0 lib/lite/validators/currency_validator.rb
lite-validators-1.3.2 lib/lite/validators/currency_validator.rb
lite-validators-1.3.1 lib/lite/validators/currency_validator.rb
lite-validators-1.3.0 lib/lite/validators/currency_validator.rb