Exception: MinitestToRspec::ModuleShorthandError
- Inherits:
-
NotImplemented
- Object
- StandardError
- Error
- NotImplemented
- MinitestToRspec::ModuleShorthandError
- Defined in:
- lib/minitest_to_rspec/errors.rb
Overview
See DEFAULT_MESSAGE
Constant Summary collapse
- DEFAULT_MESSAGE =
<<~EOS Unsupported class definition: Module shorthand (A::B::C) is not supported. Please convert your class definition to use nested modules and try again. EOS
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ ModuleShorthandError
constructor
A new instance of ModuleShorthandError.
Constructor Details
#initialize(msg = nil) ⇒ ModuleShorthandError
24 25 26 |
# File 'lib/minitest_to_rspec/errors.rb', line 24 def initialize(msg = nil) super(msg || DEFAULT_MESSAGE) end |