Method: Janis::Parsing::Validations.validate
- Defined in:
- lib/janis/validations.rb
.validate(entry) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/janis/validations.rb', line 7 def self.validate(entry) validate_matchable(entry) validate_format(entry) # Add specific validations like "must not include letters", "must not include special chars other than : or . . ." # "numbers separated by the . must not have more than 3 digits" # etcetera end |