Exception: Tomo::Runtime::TemplateNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/tomo/runtime/template_not_found_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

raise_with

Methods included from Colors

enabled?

Instance Attribute Details

#pathObject

Returns the value of attribute path.



6
7
8
# File 'lib/tomo/runtime/template_not_found_error.rb', line 6

def path
  @path
end

Instance Method Details

#to_consoleObject



8
9
10
# File 'lib/tomo/runtime/template_not_found_error.rb', line 8

def to_console
  "Template not found: #{yellow(path)}"
end