class Anodator::Validator::PresenceValidator

presence validator

This is the Validator to validate whether the value is present.

Public Instance Methods

validate() click to toggle source
# File lib/anodator/validator/presence_validator.rb, line 9
def validate
  return !target_value.split(//).size.zero?
end