# File lib/simp/cli/config/items/data/svckill_mode.rb, line 45 def validate( x ) result = false if x == 'warning' result = true info( @warning_msgs[:warning], [:YELLOW] ) pause(:info) elsif x == 'enforcing' result = true info( @warning_msgs[:enforcing], [:RED] ) pause(:info) end result end