Sha256: eb7c646db140a61d0052ca7a5d452e4b8d4dbf1c1eadf079f71e8adb7ab2eb6d
Contents?: true
Size: 513 Bytes
Versions: 10
Compression:
Stored size: 513 Bytes
Contents
require 'just_go/errors/error' module JustGo # = NotPlayersTurnError # # A not players turn error with a message class NotPlayersTurnError < Error # New not players turn errors can be instantiated with # # @option [String] message # the message to display. # # ==== Example: # # Instantiates a new NotPlayersTurnError # JustGo::NotPlayersTurnError.new("Custom Message") def initialize(message="It is not the player's turn yet.") super end end end
Version data entries
10 entries across 10 versions & 1 rubygems