Sha256: 66ba1db8d3b7cbc7bc46361ed8c9cfd32e290a614f9404a54f3a31174113f05f

Contents?: true

Size: 194 Bytes

Versions: 8

Compression:

Stored size: 194 Bytes

Contents

module Codebreaker
  module Errors
    class GameOverError < StandardError
      def initialize(msg = 'No attempts available or a player won the game')
        super
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cb-core-0.1.8 lib/codebreaker/errors/game_over_error.rb
cb-core-0.1.7 lib/codebreaker/errors/game_over_error.rb
cb-core-0.1.6 lib/codebreaker/errors/game_over_error.rb
cb-core-0.1.4 lib/codebreaker/errors/game_over_error.rb
cb-core-0.1.3 lib/codebreaker/errors/game_over_error.rb
cb-core-0.1.2 lib/codebreaker/errors/game_over_error.rb
cb-core-0.1.1 lib/codebreaker/errors/game_over_error.rb
cb-core-0.1.0 lib/codebreaker/errors/game_over_error.rb