/* * Create a new connection to the FAM daemon. * * Examples: * # connect and tell FAM the application is named 'foo' * fam = Fam::Connection.new 'foo' * * # just connect * fam = Fam::Connection.new * */ static VALUE fam_conn_s_new(int argc, VALUE *argv, VALUE klass) { VALUE self = fam_conn_s_alloc(klass); rb_obj_call_init(self, argc, argv); return self; }