Module: Janis::Parsing::Validations

Defined in:
lib/janis/validations.rb

Class Method Summary collapse

Class Method Details

.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