move Sigar to top-level like the Perl binding
This commit is contained in:
parent
8e156f28bd
commit
4366e095d8
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue