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