Sha256: f330f65047b940699879a97ad1767ad6498d64c407beb3be5171111c6b69c665
Contents?: true
Size: 265 Bytes
Versions: 11
Compression:
Stored size: 265 Bytes
Contents
# frozen_string_literal: true module Codebreaker class Player MAX_LENGTH_NAME = 20 MIN_LENGTH_NAME = 3 attr_reader :name def initialize(name) @name = name end def validate Verifier.verify_valid_name(@name) end end end
Version data entries
11 entries across 11 versions & 1 rubygems