Sha256: 49b33f34099716a9a7e5094c5efa1e91637f9a61de3f08bb96b5bbc259747ddc
Contents?: true
Size: 232 Bytes
Versions: 7
Compression:
Stored size: 232 Bytes
Contents
# frozen_string_literal: true module Codebreakergem module Checker ALLOWED_LENGTH = (3..21).freeze def validate_string_length(incoming_string) ALLOWED_LENGTH.include?(incoming_string.to_s.length) end end end
Version data entries
7 entries across 7 versions & 1 rubygems