Exception: Tomo::Configuration::PluginFileNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/tomo/configuration/plugin_file_not_found_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

raise_with

Methods included from Tomo::Colors

enabled?

Instance Attribute Details

#pathObject

Returns the value of attribute path.



6
7
8
# File 'lib/tomo/configuration/plugin_file_not_found_error.rb', line 6

def path
  @path
end

Instance Method Details

#to_consoleObject



8
9
10
11
12
13
# File 'lib/tomo/configuration/plugin_file_not_found_error.rb', line 8

def to_console
  <<~ERROR
    A plugin specified by this project could not be loaded.
    File does not exist: #{yellow(path)}
  ERROR
end