Module: Codebreakergem::Checker
Constant Summary collapse
- ALLOWED_LENGTH =
(3..21).freeze
Instance Method Summary collapse
Instance Method Details
#validate_string_length(incoming_string) ⇒ Object
7 8 9 |
# File 'lib/modules/check_module.rb', line 7 def validate_string_length(incoming_string) ALLOWED_LENGTH.include?(incoming_string.to_s.length) end |