Class: Codebreaker::SecretCodeGenerator
- Inherits:
-
Object
- Object
- Codebreaker::SecretCodeGenerator
- Defined in:
- lib/codebreaker/secret_code_generator.rb
Constant Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.string_valid?(secret_code) ⇒ Boolean
7 8 9 |
# File 'lib/codebreaker/secret_code_generator.rb', line 7 def self.string_valid?(secret_code) VALID_REGEXP.match?(secret_code) end |