Sha256: 13b248fd34d538044206b47f996e2c98c281c215e41b0329c53a08a2c750cf67
Contents?: true
Size: 461 Bytes
Versions: 8
Compression:
Stored size: 461 Bytes
Contents
module JustBackgammon # = DiceMismatchError # # A dice mismatch error with a message class DiceMismatchError # A new instance of DiceMismatchError. # # @option [String] message # the message. # # ==== Example: # # Instantiates a new DiceMismatchError # JustBackgammon::DiceMismatchError.new("Custom Message") def initialize(message="Move does not match dice rolls.") @message = message end end end
Version data entries
8 entries across 8 versions & 1 rubygems