mruby/mruby — pull request #566 by skandhas (2012-11-22 08:45:49+00:00)
Title: modify method flag in method:mrb_obj_methods_m

```C
mrb_value
mrb_obj_methods_m(mrb_state *mrb, mrb_value self)
{
......
return mrb_obj_methods(mrb, argc, argv, self, (mrb_method_flag_t)0); /* everything but private */
}
```
Because *NOEX_PUBLIC* is also equal to 0, so "0" at *mrb_obj_methods_m* potentially confusing.

And the code of ruby 1.9.x, the flag is -1.
```C
static int
ins_methods_i(st_data_t name, st_data_t type, st_data_t ary)
{
return ins_methods_push((ID)name, (long)type, (VALUE)ary, -1); /* everything but private */
}
```