aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pathname
diff options
context:
space:
mode:
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