Class: JustGo::NoLibertiesError
- Defined in:
- lib/just_go/errors/no_liberties_error.rb
Overview
NoLibertiesError
A not players turn error with a message
Instance Method Summary collapse
-
#initialize(message = "Point has no liberties") ⇒ NoLibertiesError
constructor
New not players turn errors can be instantiated with.
Constructor Details
#initialize(message = "Point has no liberties") ⇒ NoLibertiesError
New not players turn errors can be instantiated with
Example:
# Instantiates a new NoLibertiesError
JustGo::NoLibertiesError.new("Custom Message")
18 19 20 |
# File 'lib/just_go/errors/no_liberties_error.rb', line 18 def initialize(="Point has no liberties") super end |