Skip to content
Permalink
Browse files
fix public_methods(false)
  • Loading branch information
mattn committed Jun 17, 2016
1 parent a8af43f commit 8764bd282c346cec3581e380b9a20a1761cba059
Showing 1 changed file with 1 addition and 3 deletions.
@@ -722,9 +722,7 @@ mrb_obj_singleton_methods(mrb_state *mrb, mrb_bool recur, mrb_value obj)
static mrb_value
mrb_obj_methods(mrb_state *mrb, mrb_bool recur, mrb_value obj, mrb_method_flag_t flag)
{
if (recur)
return mrb_class_instance_method_list(mrb, recur, mrb_class(mrb, obj), 0);
return mrb_obj_singleton_methods(mrb, recur, obj);
return mrb_class_instance_method_list(mrb, recur, mrb_class(mrb, obj), 0);
}
/* 15.3.1.3.31 */
/*

0 comments on commit 8764bd2

Please sign in to comment.