{"action":"closed","issue":{"url":"https://api.github.com/repos/mruby/mruby/issues/2805","labels_url":"https://api.github.com/repos/mruby/mruby/issues/2805/labels{/name}","comments_url":"https://api.github.com/repos/mruby/mruby/issues/2805/comments","events_url":"https://api.github.com/repos/mruby/mruby/issues/2805/events","html_url":"https://github.com/mruby/mruby/issues/2805","id":80765986,"number":2805,"title":"Module#const_set doesn't set class name","user":{"login":"yasuyuki","id":15766,"avatar_url":"https://avatars.githubusercontent.com/u/15766?v=3","gravatar_id":"","url":"https://api.github.com/users/yasuyuki","html_url":"https://github.com/yasuyuki","followers_url":"https://api.github.com/users/yasuyuki/followers","following_url":"https://api.github.com/users/yasuyuki/following{/other_user}","gists_url":"https://api.github.com/users/yasuyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/yasuyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasuyuki/subscriptions","organizations_url":"https://api.github.com/users/yasuyuki/orgs","repos_url":"https://api.github.com/users/yasuyuki/repos","events_url":"https://api.github.com/users/yasuyuki/events{/privacy}","received_events_url":"https://api.github.com/users/yasuyuki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-26T03:19:01Z","updated_at":"2015-11-16T14:41:47Z","closed_at":"2015-11-16T14:41:47Z","body":"Ruby 2.2\r\n```\r\n% irb\r\nirb(main):001:0> Kernel.const_set('A', Class.new)\r\n=> Kernel::A\r\nirb(main):002:0> A\r\n=> Kernel::A\r\n```\r\nmruby\r\n```\r\n% bin/mirb \r\nmirb - Embeddable Interactive Ruby Shell\r\n\r\n> Kernel.const_set('A', Class.new)\r\n => #<Class:0x7fd8d4019bd0>\r\n> A\r\n => #<Class:0x7fd8d4019bd0>\r\n```"}}