Class: ECMParams
- Inherits:
-
Object
- Object
- ECMParams
- Defined in:
- ext/ecm.c
Class Method Summary collapse
-
.new(*args) ⇒ Object
Initialization Functions and Assignment Functions.
Class Method Details
.new(*args) ⇒ Object
Initialization Functions and Assignment Functions
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
# File 'ext/ecm.c', line 140 VALUE r_ecmsg_new(int argc, VALUE *argv, VALUE klass) { ECM_PARAMS *res; VALUE res_value; (void)klass; if (argc > 1) rb_raise (rb_eArgError, "wrong # of arguments (%d for 0 or 1)", argc); // ecm_params_make_struct (res, res_val); ecm_params_make_struct_init (res_value, res); rb_obj_call_init (res_value, argc, argv); return res_value; } |