Exception: MinitestToRspec::ModuleShorthandError

Inherits:
NotImplemented show all
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

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