From 5be2af5f9052e7f799b2c576d78a373c57069771 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Thu, 3 Oct 2019 21:15:24 -0400 Subject: [PATCH] Remove call-seq for method that doesn't exist (#2521) ``` $ ruby -ve 'IO.popen("ls"){}; $?.to_int' ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-darwin18] Traceback (most recent call last): -e:1:in `
': undefined method `to_int' for # (NoMethodError) Did you mean? to_i taint ``` Process::Status#to_int was removed at 7ba5c4e. --- process.c | 1 - 1 file changed, 1 deletion(-) diff --git a/process.c b/process.c index 4661da205e..fa5de27273 100644 --- a/process.c +++ b/process.c @@ -547,7 +547,6 @@ rb_last_status_clear(void) /* * call-seq: * stat.to_i -> integer - * stat.to_int -> integer * * Returns the bits in _stat_ as a Integer. Poking * around in these bits is platform dependent.