mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* class.c, error.c, eval.c, intern.h, object.c, variable.c:
do not set path if it is a singleton class. [ruby-dev:22588] (backport from 1.9) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
61817f40af
commit
99a04c1adf
7 changed files with 37 additions and 21 deletions
2
object.c
2
object.c
|
@ -1236,7 +1236,7 @@ rb_mod_to_s(klass)
|
|||
|
||||
return s;
|
||||
}
|
||||
return rb_str_dup(rb_class_path(klass));
|
||||
return rb_str_dup(rb_class_name(klass));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue