/* * Document-method: value= * * call-seq: * ctrl.value=(val) => val * * Set the value of the control. */ static VALUE rb_ldap_control_value (int argc, VALUE argv[], VALUE self) { VALUE val; if (rb_scan_args (argc, argv, "01", &val) == 1) val = rb_ldap_control_set_value (self, val); else val = rb_ldap_control_get_value (self); return val; }