class Omnibus::MissingTemplate
Public Class Methods
new(template, search_paths)
click to toggle source
# File lib/omnibus/exceptions.rb, line 84 def initialize(template, search_paths) @template, @search_paths = template, search_paths end
Public Instance Methods
to_s()
click to toggle source
# File lib/omnibus/exceptions.rb, line 88 def to_s <<~EOH Attempting to evaluate the template `#{@template}', but it was not found at any of the following locations: #{@search_paths.map { |path| " #{path}" }.join("\n")} EOH end