summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vm_method.c b/vm_method.c
index c35b19527d..aabe75dc0f 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1110,6 +1110,10 @@ rb_respond_to(VALUE obj, ID id)
* Returns +true+ if _obj_ responds to the given
* method. Private methods are included in the search only if the
* optional second parameter evaluates to +true+.
+ *
+ * If the method is not implemented,
+ * as Process.fork on Windows, File.lchmod on GNU/Linux, etc.,
+ * false is returned.
*/
static VALUE