diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-19 06:41:47 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-19 06:41:47 +0000 |
commit | 1f03c90dbf40fdba75fdb150f6382f77efeda175 (patch) | |
tree | 735b1eccea88ed8f79630a804e42ce83e8268371 /include/ruby | |
parent | 0e60c71038a754c0d1e06afd48c142a58240d275 (diff) | |
download | ruby-1f03c90dbf40fdba75fdb150f6382f77efeda175.tar.gz |
* variable.c (rb_mod_class_variables): return inherited variables
except when the optional argument is set to false.
[ruby-dev:44034] [Bug #4971]
* variable.c (rb_mod_constants): fix typo in documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index f28ad5e186..bc3d0fcea2 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -886,7 +886,7 @@ VALUE rb_cvar_get(VALUE, ID); void rb_cv_set(VALUE, const char*, VALUE); VALUE rb_cv_get(VALUE, const char*); void rb_define_class_variable(VALUE, const char*, VALUE); -VALUE rb_mod_class_variables(VALUE); +VALUE rb_mod_class_variables(int, VALUE*, VALUE); VALUE rb_mod_remove_cvar(VALUE, VALUE); ID rb_frame_callee(void); |