class Solargraph::Workspace
def would_require? path
-
(Boolean)-
Parameters:
-
path(String) --
def would_require? path require_paths.each do |rp| return true if File.exist?(File.join(rp, "#{path}.rb")) end false end
(Boolean)
-
path
(String)
--
def would_require? path require_paths.each do |rp| return true if File.exist?(File.join(rp, "#{path}.rb")) end false end