module Codebreakergem::Checker

Constants

ALLOWED_LENGTH

Public Instance Methods

validate_string_length(incoming_string) click to toggle source
# File lib/modules/check_module.rb, line 7
def validate_string_length(incoming_string)
  ALLOWED_LENGTH.include?(incoming_string.to_s.length)
end