class Anodator::Validator::BlankValidator

blank validator

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

Public Instance Methods

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