aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pathname
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-17 16:10:19 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-17 16:10:19 +0000
commit17749e51681383304984f310a14a2939e554b593 (patch)
treea7c91661c73e68a1352112f3a485eaa9d56399e2 /ext/pathname
parentfffb949e47a94bb84882c7388fca158f228984d4 (diff)
downloadruby-17749e51681383304984f310a14a2939e554b593.tar.gz
* ext/pathname/pathname.c (path_initialize): return a value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname')
-rw-r--r--ext/pathname/pathname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c
index b91cd470ad..d9917058da 100644
--- a/ext/pathname/pathname.c
+++ b/ext/pathname/pathname.c
@@ -33,6 +33,7 @@ path_initialize(VALUE self, VALUE arg)
set_strpath(self, str);
OBJ_INFECT(self, str);
+ return self;
}
void