From 96db72ce38b27799dd8e80ca00696e41234db6ba Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 23 Feb 2018 02:18:52 +0000 Subject: [DOC] missing docs at toplevel git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'error.c') diff --git a/error.c b/error.c index 0f60f491ec..0a992b2701 100644 --- a/error.c +++ b/error.c @@ -1652,6 +1652,13 @@ nometh_err_args(VALUE self) return rb_attr_get(self, id_args); } +/* + * call-seq: + * no_method_error.private_call? -> true or false + * + * Return true if the caused method was called as private. + */ + static VALUE nometh_err_private_call_p(VALUE self) { -- cgit v1.2.3