Sha256: dd7d2191070aea698d54063af8879a54d88a5631d6ea8ab46a42096d2ed8acfd

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

require_relative '../validation/registration'

module BeforeGame
  class RegistrationPlayer
    attr_reader :name

    def initialize(name:)
      Validation::Registration.validation(name: name)
      @name = name
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
codebreaker_kosinskiy-0.1.2 lib/codebreaker/before_game/registration_player.rb
codebreaker_kosinskiy-0.1.0 lib/codebreaker/before_game/registration_player.rb