mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Init functions should have prefix to avoid confliction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1b055cffbc
commit
436fd82ab7
16 changed files with 16 additions and 16 deletions
|
@ -11,7 +11,7 @@ bug_str_capacity(VALUE klass, VALUE str)
|
|||
}
|
||||
|
||||
void
|
||||
Init_capacity(VALUE klass)
|
||||
Init_string_capacity(VALUE klass)
|
||||
{
|
||||
rb_define_singleton_method(klass, "capacity", bug_str_capacity, 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue