From 4366e095d8c48ccdfb8599bd8617479e65a85123 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 3 Sep 2007 01:14:49 +0000 Subject: [PATCH] move Sigar to top-level like the Perl binding --- bindings/ruby/rbsigar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bindings/ruby/rbsigar.c b/bindings/ruby/rbsigar.c index d1d42a76..f8177b0d 100644 --- a/bindings/ruby/rbsigar.c +++ b/bindings/ruby/rbsigar.c @@ -115,8 +115,7 @@ static VALUE rb_sigar_net_route(VALUE obj) void Init_rbsigar(void) { - VALUE module = rb_define_module("Hyperic"); - VALUE rclass = rb_define_class_under(module, "Sigar", rb_cObject); + VALUE rclass = rb_define_class("Sigar", rb_cObject); rb_define_method(rclass, "file_system_list", rb_sigar_file_system_list, 0);