Exception: AGIStateFailure

Inherits:
Exception
  • Object
show all
Defined in:
lib/AGIExceptions.rb

Instance Method Summary collapse

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_sObject



102
103
104
# File 'lib/AGIExceptions.rb', line 102

def to_s
  @message
end

#to_strObject



105
106
107
# File 'lib/AGIExceptions.rb', line 105

def to_str
  self.to_s
end