Exception: AGIStateFailure
- Inherits:
-
Exception
- Object
- Exception
- AGIStateFailure
- Defined in:
- lib/AGIExceptions.rb
Instance Method Summary collapse
-
#initialize(str) ⇒ AGIStateFailure
constructor
A new instance of AGIStateFailure.
- #to_s ⇒ Object
- #to_str ⇒ Object
Constructor Details
#initialize(str) ⇒ AGIStateFailure
Returns a new instance of AGIStateFailure.
99 100 101 |
# File 'lib/AGIExceptions.rb', line 99 def initialize(str) @message = str end |
Instance Method Details
#to_s ⇒ Object
102 103 104 |
# File 'lib/AGIExceptions.rb', line 102 def to_s @message end |
#to_str ⇒ Object
105 106 107 |
# File 'lib/AGIExceptions.rb', line 105 def to_str self.to_s end |