Class: JAVA::Value
- Inherits:
- BasicObject
- Includes:
- Kernel
- Defined in:
- ext/primitive/primitive.c
Class Method Summary collapse
Class Method Details
.const_missing(symbol) ⇒ Object
2729 2730 2731 2732 2733 2734 2735 2736 |
# File 'ext/primitive/primitive.c', line 2729
static VALUE
r_JavaValue_const_missing(VALUE self, VALUE symbol)
{
if (TYPE(symbol) != T_SYMBOL)
rb_raise(rb_eTypeError, "expected symbol");
ID id = SYM2ID(symbol);
return rb_const_get(rb_cObject, id);
}
|