From: "nobu (Nobuyoshi Nakada)" Date: 2013-04-13T11:39:59+09:00 Subject: [ruby-core:54250] [ruby-trunk - Feature #8264][Assigned] define struct under the given namespace Issue #8264 has been reported by nobu (Nobuyoshi Nakada). ---------------------------------------- Feature #8264: define struct under the given namespace https://bugs.ruby-lang.org/issues/8264 Author: nobu (Nobuyoshi Nakada) Status: Assigned Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: core Target version: next minor =begin As commented in ((%struct.c%)), it's old style to define (({Struct::Foo})) automatically. But there is no handy way to define a (({Struct})) under other namespaces, so I propose new C API to do it, (({rb_struct_define_under()})). =end -- http://bugs.ruby-lang.org/