summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-30 07:43:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-30 07:43:32 +0000
commitd919a67c1e704ba7c7f0067ec649c98288a662fe (patch)
tree2287e80c180281a6dcfbc6d64d4abd2d7a5ecd63 /variable.c
parent8bc2fb5ba4c20437a6f4929163769fdc37a89e8b (diff)
downloadbundler-d919a67c1e704ba7c7f0067ec649c98288a662fe.tar.gz
* variable.c (rb_class_path): fixed a variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 966a7e0df8..f5e6ff194f 100644
--- a/variable.c
+++ b/variable.c
@@ -193,7 +193,7 @@ rb_class_path(VALUE klass)
if (!NIL_P(path)) return path;
if (RCLASS_IV_TBL(klass) && st_lookup(RCLASS_IV_TBL(klass),
(st_data_t)tmp_classpath, &n)) {
- return path;
+ return (VALUE)n;
}
else {
const char *s = "Class";