mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
8bc2fb5ba4
commit
d919a67c1e
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue