module PIM::ValidationLevel
Constants
- ALL_LEVELS
- ERROR
- FAILURE
- WARNING
Public Instance Methods
to_validation_level(level)
click to toggle source
# File pim.rb, line 8967 def to_validation_level level raise "No level specified" if level.nil? or level.empty? corrected_level = level.to_s.downcase.capitalize raise "Unknown validation level '#{level}'" unless ALL_LEVELS.include?(corrected_level) corrected_level end