class Omnibus::MissingSoftware
Public Class Methods
new(name)
click to toggle source
# File lib/omnibus/exceptions.rb, line 114 def initialize(name) @name = name @possible_paths = Omnibus.possible_paths_for(Config.software_dir) end
Public Instance Methods
to_s()
click to toggle source
# File lib/omnibus/exceptions.rb, line 119 def to_s <<~EOH I could not find a software named `#{@name}' in any of the software locations:" #{@possible_paths.map { |path| " #{path}" }.join("\n")} EOH end