Exception: MedocError
- Inherits:
-
Exception
- Object
- Exception
- MedocError
- Defined in:
- lib/medoc.rb
Overview
require ‘pry’
Instance Method Summary collapse
- #embedded_message ⇒ Object
- #embedded_message=(value) ⇒ Object
-
#initialize(message = 'Unknown MedocError') ⇒ MedocError
constructor
A new instance of MedocError.
Constructor Details
#initialize(message = 'Unknown MedocError') ⇒ MedocError
Returns a new instance of MedocError.
6 7 8 9 |
# File 'lib/medoc.rb', line 6 def initialize( = 'Unknown MedocError') super @embedded_message = end |
Instance Method Details
#embedded_message ⇒ Object
11 12 13 |
# File 'lib/medoc.rb', line 11 def @embedded_message end |
#embedded_message=(value) ⇒ Object
15 16 17 |
# File 'lib/medoc.rb', line 15 def (value) @embedded_message = value end |