class Kafo::DataTypes::Undef
Public Instance Methods
valid?(input, errors = [])
click to toggle source
# File lib/kafo/data_types/undef.rb, line 4 def valid?(input, errors = []) errors << "#{input} must be undef" unless input.nil? return errors.empty? end