Exception: AGIMenuFailure
- Inherits:
-
Exception
- Object
- Exception
- AGIMenuFailure
- Defined in:
- lib/AGIExceptions.rb
Overview
AGIMenuFailure signifies that there was a failure in constructing or playing an AGIMenu
Instance Method Summary collapse
-
#initialize(str) ⇒ AGIMenuFailure
constructor
A new instance of AGIMenuFailure.
- #to_s ⇒ Object
- #to_str ⇒ Object
Constructor Details
#initialize(str) ⇒ AGIMenuFailure
Returns a new instance of AGIMenuFailure.
87 88 89 |
# File 'lib/AGIExceptions.rb', line 87 def initialize(str) @message = str end |
Instance Method Details
#to_s ⇒ Object
90 91 92 |
# File 'lib/AGIExceptions.rb', line 90 def to_s @message end |
#to_str ⇒ Object
93 94 95 |
# File 'lib/AGIExceptions.rb', line 93 def to_str self.to_s end |