Sha256: d9c3703ae3e4e1685c87210ac6017d7ccd73d6ac34aee727a80250a41900ee59
Contents?: true
Size: 313 Bytes
Versions: 3
Compression:
Stored size: 313 Bytes
Contents
class HashValidator::Validator::Base def should_validate?(name) raise StandardError.new('should_validate? should not be called directly on BaseValidator') end def validate(key, value, validations, errors) raise StandardError.new('validate should not be called directly on BaseValidator') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hash_validator-0.1.0 | lib/hash_validator/validators/base.rb |
hash_validator-0.0.2 | lib/hash_validator/validators/base.rb |
hash_validator-0.0.1 | lib/hash_validator/validators/base.rb |