Issue #8404 has been reported by Hanmac (Hans Mackowiak).

----------------------------------------
Feature #8404: virtual, hooked or read only global variabels for ruby only code too
https://bugs.ruby-lang.org/issues/8404

Author: Hanmac (Hans Mackowiak)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 


currently pure virtual or hooked global variables can only be defined with cFunctions like rb_define_virtual_variable

i think it would be cool if this would be possible in Ruby code too


-- 
http://bugs.ruby-lang.org/