First page Back Continue Last page Overview Graphics


You just need to add a const_missing class method to the class that calls Object.const_get.

Note that here you do need to preface the reference to Object with a double colon, otherwise you should get a SystemStackError.

However, when I tried this without the double colon before Object, I got SIGILL and a core dump.

Any questions about how this works or why it is necessary?