summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-19 11:25:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-19 11:25:42 +0000
commit9061c955a89793f491579b05e3e75bd6b28b1d2c (patch)
tree620258842a083ab297ccbbdab00d8e0f592d3fc0 /dir.c
parent2b12a477ab16008aa4f57f98bde06e0887ddc13f (diff)
* dir.c (Init_Dir): define inspect method. [ruby-core:15960]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.c b/dir.c
index 0dd12ff..684e5a0 100644
--- a/dir.c
+++ b/dir.c
@@ -1970,6 +1970,7 @@ Init_Dir()
rb_define_method(rb_cDir,"initialize", dir_initialize, 1);
rb_define_method(rb_cDir,"path", dir_path, 0);
+ rb_define_method(rb_cDir,"inspect", dir_inspect, 0);
rb_define_method(rb_cDir,"read", dir_read, 0);
rb_define_method(rb_cDir,"each", dir_each, 0);
rb_define_method(rb_cDir,"rewind", dir_rewind, 0);