Пример #1
0
            private void ObjectMonkeyPatch(RubyModule/*!*/ module) {
                Debug.Assert(module == Context.ObjectClass);

                module.DefineLibraryMethod("object_monkey", 0x9, new System.Delegate[] {
                    new Func<object, string>(MonkeyWorker),
                });
            }