mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
reverted Module#mix -- r31873, r31917 and r31918.
--
* class.c (rb_mix_module): implement Module#mix.
--
* class.c (check_mix_method_i, do_mix_method_i): not mix methods
--
* test/ruby/test_module.rb (TestModule#test_mix_const): test for
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
80a01400db
commit
c1183af575
5 changed files with 34 additions and 276 deletions
1
method.h
1
method.h
|
|
@ -101,6 +101,5 @@ void rb_mark_method_entry(const rb_method_entry_t *me);
|
|||
void rb_free_method_entry(rb_method_entry_t *me);
|
||||
void rb_sweep_method_entry(void *vm);
|
||||
void rb_free_m_table(st_table *tbl);
|
||||
void rb_mix_module(VALUE klass, VALUE module, struct st_table *constants, struct st_table *methods);
|
||||
|
||||
#endif /* METHOD_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue