Exception: RubocopPlus::Commands::OutputMissing

Inherits:
StandardError
  • Object
show all
Defined in:
lib/commands/rubo/errors/output_missing.rb

Overview

The rubo command will generate some custom output files. If those files don’t get created properly, rubo will raise OutputMissing.

Instance Method Summary collapse

Constructor Details

#initialize(msg = "") ⇒ OutputMissing

Returns a new instance of OutputMissing.



6
7
8
9
# File 'lib/commands/rubo/errors/output_missing.rb', line 6

def initialize(msg="")
  @message = msg
  super
end

Instance Method Details

#messageObject



11
12
13
# File 'lib/commands/rubo/errors/output_missing.rb', line 11

def message
  @message.rubo_red
end