Exception: Dolly::InvalidMangoOperatorError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Dolly::InvalidMangoOperatorError
- Defined in:
- lib/dolly/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg) ⇒ InvalidMangoOperatorError
constructor
A new instance of InvalidMangoOperatorError.
- #to_s ⇒ Object
Constructor Details
#initialize(msg) ⇒ InvalidMangoOperatorError
Returns a new instance of InvalidMangoOperatorError.
19 20 21 |
# File 'lib/dolly/exceptions.rb', line 19 def initialize msg @msg = msg end |
Instance Method Details
#to_s ⇒ Object
23 24 25 |
# File 'lib/dolly/exceptions.rb', line 23 def to_s "Invalid Mango operator: #{@msg.inspect}" end |