From 732f14abc57641e6557df9589ab0acbe5b34140d Mon Sep 17 00:00:00 2001 From: Evan Gray Date: Fri, 29 Mar 2024 08:36:44 -0500 Subject: [PATCH] Fix NoMethodError for File.exists? --- plugin/ri_vim.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/ri_vim.rb b/plugin/ri_vim.rb index 718a2dd..0c3d0a5 100755 --- a/plugin/ri_vim.rb +++ b/plugin/ri_vim.rb @@ -48,7 +48,7 @@ def initialize names options[:use_home], options[:use_gems], *options[:extra_doc_dirs]) do |path, type| - if File.exists?(path) + if File.exist?(path) @doc_dirs << path store = RDoc::RI::Store.new path, type store.load_cache