Exception: InvalidMoveError
- Inherits:
-
StandardError
- Object
- StandardError
- InvalidMoveError
- Defined in:
- lib/ari_chess/error.rb
Instance Method Summary collapse
-
#initialize(message = "Invalid move!") ⇒ InvalidMoveError
constructor
A new instance of InvalidMoveError.
Constructor Details
#initialize(message = "Invalid move!") ⇒ InvalidMoveError
Returns a new instance of InvalidMoveError.
2 3 4 |
# File 'lib/ari_chess/error.rb', line 2 def initialize( = "Invalid move!") super() end |