summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 755290f..73478a7 100644
--- a/dir.c
+++ b/dir.c
@@ -241,8 +241,7 @@ Init_Dir()
{
extern VALUE M_Enumerable;
- C_Dir = rb_define_class("Directory", C_Object);
- rb_name_class(C_Dir, rb_intern("Dir")); /* alias */
+ C_Dir = rb_define_class("Dir", C_Object);
rb_include_module(C_Dir, M_Enumerable);