Exception: RGSearch::RGSearchException
- Inherits:
-
Exception
- Object
- Exception
- RGSearch::RGSearchException
- Defined in:
- lib/rgsearch/exception.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ RGSearchException
constructor
A new instance of RGSearchException.
- #message ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ RGSearchException
Returns a new instance of RGSearchException.
7 8 9 |
# File 'lib/rgsearch/exception.rb', line 7 def initialize() @message = end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/rgsearch/exception.rb', line 11 def "RGSearch Error: #{@message}" end |
#to_s ⇒ Object
5 |
# File 'lib/rgsearch/exception.rb', line 5 alias to_s |