summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2019-10-03 21:15:24 -0400
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-04 10:15:24 +0900
commit5be2af5f9052e7f799b2c576d78a373c57069771 (patch)
tree457c8ea17b5bf6d96b7d5df7b03a657dd2edd995
parent7db83b04d0e170a6b9ed56597a1327c68c04bfec (diff)
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 `<main>': undefined method `to_int' for #<Process::Status: pid 33989 SIGPIPE (signal 13)> (NoMethodError) Did you mean? to_i taint ``` Process::Status#to_int was removed at 7ba5c4e.
-rw-r--r--process.c1
1 files changed, 0 insertions, 1 deletions
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.