summaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-15 14:53:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-15 14:53:17 +0000
commite82a0a4100469c89aab57ba46b51c02d98a98095 (patch)
tree1184036b0316105261889383d964640dce5b1df8 /error.c
parent3af58b4a5b347379601e10dcee2f6f2119b0e1bd (diff)
downloadruby-e82a0a4100469c89aab57ba46b51c02d98a98095.tar.gz
ruby-e82a0a4100469c89aab57ba46b51c02d98a98095.tar.xz
ruby-e82a0a4100469c89aab57ba46b51c02d98a98095.zip
* error.c (errno_missing): add rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/error.c b/error.c
index 91bc99354..30986e397 100644
--- a/error.c
+++ b/error.c
@@ -992,7 +992,6 @@ syserr_errno(self)
* if the error numbers _self_ and _other_ are the same.
*/
-
static VALUE
syserr_eqq(self, exc)
VALUE self, exc;
@@ -1017,6 +1016,12 @@ syserr_eqq(self, exc)
return Qfalse;
}
+/*
+ * call-seq:
+ * Errno.const_missing => SystemCallError
+ *
+ * Returns default SystemCallError class.
+ */
static VALUE
errno_missing(self, id)
VALUE self, id;