Exception: Twisty::TwistyError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Twisty::TwistyError
- Defined in:
- lib/twisty/error.rb
Overview
Super-class of GameError and PlayError. Do not use directly
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
(
String) Message detailing the exception.
Instance Method Summary collapse
-
#initialize(s) ⇒ TwistyError
constructor
Initialiser.
Constructor Details
#initialize(s) ⇒ TwistyError
Initialiser
- s
-
(
String) Contents of TwistyError.message
20 21 22 |
# File 'lib/twisty/error.rb', line 20 def initialize(s) = s end |
Instance Attribute Details
#message ⇒ Object (readonly)
(String) Message detailing the exception
15 16 17 |
# File 'lib/twisty/error.rb', line 15 def end |