Exception: Glut::Error

Inherits:
StandardError
  • Object
show all
Defined in:
ext/gl/gl-error.c

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, error_id) ⇒ Object



67
68
69
70
71
72
73
# File 'ext/gl/gl-error.c', line 67

VALUE GLError_initialize(VALUE obj,VALUE message, VALUE error_id)
{
	rb_call_super(1, &message);
	rb_iv_set(obj, "@id", error_id);

	return obj;
}

Instance Attribute Details

#idObject (readonly)