Exception: Vsimple::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Vsimple::Error
- Defined in:
- lib/vsimple/error.rb
Instance Attribute Summary collapse
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Instance Method Summary collapse
-
#initialize(msg) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg) ⇒ Error
Returns a new instance of Error.
6 7 8 |
# File 'lib/vsimple/error.rb', line 6 def initialize(msg) @msg = msg end |
Instance Attribute Details
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
4 5 6 |
# File 'lib/vsimple/error.rb', line 4 def msg @msg end |