diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-27 07:48:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-27 07:48:50 +0000 |
commit | 8ddbbb33242f413845079b0274c28331cb4aa0f5 (patch) | |
tree | 522b12dada77b09073a58130c99c77d62c895b87 /include/ruby | |
parent | 8634544fa74be0995582bc8056763fcfd38a0702 (diff) | |
download | ruby-8ddbbb33242f413845079b0274c28331cb4aa0f5.tar.gz |
Module#prepend
* class.c (rb_prepend_module): prepend module into another module.
* eval.c (rb_mod_prepend): new method Module#prepend. [Feature #1102]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/ruby.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 626f283ed2..23ba7535f2 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1080,6 +1080,7 @@ VALUE rb_define_module_under(VALUE, const char*); void rb_include_module(VALUE,VALUE); void rb_extend_object(VALUE,VALUE); +void rb_prepend_module(VALUE,VALUE); struct rb_global_variable; |