Exception: QandA::Error
- Inherits:
-
StandardError
- Object
- StandardError
- QandA::Error
- Defined in:
- lib/qanda_exceptions.rb
Instance Method Summary collapse
-
#initialize(msg) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg) ⇒ Error
Returns a new instance of Error.
3 4 5 |
# File 'lib/qanda_exceptions.rb', line 3 def initialize(msg) @msg = msg end |