module NumberPlateValidator
Constants
- VERSION
Public Class Methods
validator(country_code)
click to toggle source
# File lib/number_plate_validator.rb, line 14 def validator(country_code) validator_class = Object.const_get "NumberPlateValidator::#{country_code}Validator" validator = validator_class.new Validator.new(validator) end