mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
ddefcea151
Use mrb_singleton_class_ptr() instead of mrb_instance_class(), because
the former returns NULL, when the latter raises error for immediate
objects.
```
1.instance_eval <<END
def foo
:foo
end
END
```