internal static void Init(NetRuby rb) { REnumerable en = new REnumerable(rb); rb.mEnumerable = en; en.DefineMethod("find_all", new RMethod(find_all), 0); en.DefineMethod("select", new RMethod(find_all), 0); en.DefineMethod("collect", new RMethod(collect), 0); en.DefineMethod("map", new RMethod(collect), 0); }