I am working on a small gem and I need kind of a direct access to
symbols table. Specifically, I would like to test whether particular
Symbol is already present in the table.
Using inline gem, when I refer to global_symbols directly, naturally I
error: ‘global_symbols’ undeclared (first use in this function)
The only two functions that call st_lookup(global_symbols,…) are
rb_intern3 and rb_id2str - I don`t see how to use either of them to
query the global_symbols without defining new symbol.
Is there any workaround for this ?