private static void LoadInteger_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "ceil", 0x51,
0x00000000U,
new Func<System.Object, System.Object>(IronRuby.Builtins.Integer.ToInteger)
);
DefineLibraryMethod(module, "chr", 0x51,
0x00010000U,
new Func<IronRuby.Runtime.ConversionStorage<IronRuby.Builtins.MutableString>, System.Int32, System.Object, IronRuby.Builtins.MutableString>(IronRuby.Builtins.Integer.ToChr)
);
DefineLibraryMethod(module, "denominator", 0x51,
0x00000000U,
new Func<System.Object, System.Object>(IronRuby.Builtins.Integer.Denominator)
);
DefineLibraryMethod(module, "downto", 0x51,
0x00000000U, 0x00000000U,
new Func<IronRuby.Runtime.BlockParam, System.Int32, System.Int32, System.Object>(IronRuby.Builtins.Integer.DownTo),
new Func<IronRuby.Runtime.BinaryOpStorage, IronRuby.Runtime.BinaryOpStorage, IronRuby.Runtime.BlockParam, System.Object, System.Object, System.Object>(IronRuby.Builtins.Integer.DownTo)
);
DefineLibraryMethod(module, "even?", 0x51,
0x00000000U, 0x00000000U,
new Func<System.Int32, System.Boolean>(IronRuby.Builtins.Integer.IsEven),
new Func<Microsoft.Scripting.Math.BigInteger, System.Boolean>(IronRuby.Builtins.Integer.IsEven)
);
DefineLibraryMethod(module, "floor", 0x51,
0x00000000U,
new Func<System.Object, System.Object>(IronRuby.Builtins.Integer.ToInteger)
);
DefineLibraryMethod(module, "gcd", 0x51,
0x00000000U, 0x00000000U, 0x00000000U,
new Func<System.Int32, System.Int32, System.Object>(IronRuby.Builtins.Integer.Gcd),
new Func<Microsoft.Scripting.Math.BigInteger, Microsoft.Scripting.Math.BigInteger, System.Object>(IronRuby.Builtins.Integer.Gcd),
new Func<System.Object, System.Object, System.Object>(IronRuby.Builtins.Integer.Gcd)
);
DefineLibraryMethod(module, "gcdlcm", 0x51,
0x00000000U, 0x00000000U, 0x00000000U,
new Func<System.Int32, System.Int32, IronRuby.Builtins.RubyArray>(IronRuby.Builtins.Integer.GcdLcm),
new Func<Microsoft.Scripting.Math.BigInteger, Microsoft.Scripting.Math.BigInteger, IronRuby.Builtins.RubyArray>(IronRuby.Builtins.Integer.GcdLcm),
new Func<System.Object, System.Object, IronRuby.Builtins.RubyArray>(IronRuby.Builtins.Integer.GcdLcm)
);
DefineLibraryMethod(module, "integer?", 0x51,
0x00000000U,
new Func<System.Object, System.Boolean>(IronRuby.Builtins.Integer.IsInteger)
);
DefineLibraryMethod(module, "lcm", 0x51,
0x00000000U, 0x00000000U, 0x00000000U,
new Func<System.Int32, System.Int32, System.Object>(IronRuby.Builtins.Integer.Lcm),
new Func<Microsoft.Scripting.Math.BigInteger, Microsoft.Scripting.Math.BigInteger, System.Object>(IronRuby.Builtins.Integer.Lcm),
new Func<System.Object, System.Object, System.Object>(IronRuby.Builtins.Integer.Lcm)
);
DefineLibraryMethod(module, "next", 0x51,
0x00000000U, 0x00000000U,
new Func<System.Int32, System.Object>(IronRuby.Builtins.Integer.Next),
new Func<IronRuby.Runtime.BinaryOpStorage, System.Object, System.Object>(IronRuby.Builtins.Integer.Next)
);
DefineLibraryMethod(module, "numerator", 0x51,
0x00000000U,
new Func<System.Object, System.Object>(IronRuby.Builtins.Integer.Numerator)
);
DefineLibraryMethod(module, "odd?", 0x51,
0x00000000U, 0x00000000U,
new Func<System.Int32, System.Boolean>(IronRuby.Builtins.Integer.IsOdd),
new Func<Microsoft.Scripting.Math.BigInteger, System.Boolean>(IronRuby.Builtins.Integer.IsOdd)
);
DefineLibraryMethod(module, "ord", 0x51,
0x00000000U,
new Func<System.Object, System.Object>(IronRuby.Builtins.Integer.Numerator)
);
DefineLibraryMethod(module, "pred", 0x51,
0x00000000U, 0x00000000U,
new Func<System.Int32, System.Object>(IronRuby.Builtins.Integer.Pred),
new Func<IronRuby.Runtime.BinaryOpStorage, System.Object, System.Object>(IronRuby.Builtins.Integer.Pred)
);
DefineLibraryMethod(module, "rationalize", 0x51,
0x00000000U,
new Func<IronRuby.Runtime.CallSiteStorage<Func<System.Runtime.CompilerServices.CallSite, System.Object, System.Object, System.Object, System.Object>>, IronRuby.Runtime.RubyScope, System.Object, System.Object>(IronRuby.Builtins.Integer.ToRational)
);
DefineLibraryMethod(module, "round", 0x51,
0x00000000U,
new Func<System.Object, System.Object>(IronRuby.Builtins.Integer.ToInteger)
);
DefineLibraryMethod(module, "succ", 0x51,
0x00000000U, 0x00000000U,
new Func<System.Int32, System.Object>(IronRuby.Builtins.Integer.Next),
new Func<IronRuby.Runtime.BinaryOpStorage, System.Object, System.Object>(IronRuby.Builtins.Integer.Next)
);
DefineLibraryMethod(module, "times", 0x51,
0x00000000U, 0x00000000U,
new Func<IronRuby.Runtime.BlockParam, System.Int32, System.Object>(IronRuby.Builtins.Integer.Times),
new Func<IronRuby.Runtime.BinaryOpStorage, IronRuby.Runtime.BinaryOpStorage, IronRuby.Runtime.BlockParam, System.Object, System.Object>(IronRuby.Builtins.Integer.Times)
);
DefineLibraryMethod(module, "to_i", 0x51,
0x00000000U,
new Func<System.Object, System.Object>(IronRuby.Builtins.Integer.ToInteger)
);
DefineLibraryMethod(module, "to_int", 0x51,
0x00000000U,
new Func<System.Object, System.Object>(IronRuby.Builtins.Integer.ToInteger)
);
DefineLibraryMethod(module, "to_r", 0x51,
0x00000000U,
new Func<IronRuby.Runtime.CallSiteStorage<Func<System.Runtime.CompilerServices.CallSite, System.Object, System.Object, System.Object, System.Object>>, IronRuby.Runtime.RubyScope, System.Object, System.Object>(IronRuby.Builtins.Integer.ToRational)
);
DefineLibraryMethod(module, "truncate", 0x51,
0x00000000U,
new Func<System.Object, System.Object>(IronRuby.Builtins.Integer.ToInteger)
);
DefineLibraryMethod(module, "upto", 0x51,
0x00000000U, 0x00000000U,
new Func<IronRuby.Runtime.BlockParam, System.Int32, System.Int32, System.Object>(IronRuby.Builtins.Integer.UpTo),
new Func<IronRuby.Runtime.BinaryOpStorage, IronRuby.Runtime.BinaryOpStorage, IronRuby.Runtime.BlockParam, System.Object, System.Object, System.Object>(IronRuby.Builtins.Integer.UpTo)
);
}