mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add ISO Number to Hash
This commit is contained in:
+1
-1
@@ -1232,7 +1232,7 @@ mrb_init_hash(mrb_state *mrb)
|
||||
{
|
||||
struct RClass *h;
|
||||
|
||||
h = mrb->hash_class = mrb_define_class(mrb, "Hash", mrb->object_class);
|
||||
h = mrb->hash_class = mrb_define_class(mrb, "Hash", mrb->object_class); /* 15.2.13 */
|
||||
MRB_SET_INSTANCE_TT(h, MRB_TT_HASH);
|
||||
|
||||
mrb_include_module(mrb, h, mrb_class_get(mrb, "Enumerable"));
|
||||
|
||||
Reference in New Issue
Block a user