monkey patch

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

English[edit]

Alternative forms[edit]

Noun[edit]

monkey patch (plural monkey patches)

  1. (programming, neologism) A patch which alters the behaviour of a program by forcefully overriding aspects of the original code at runtime.

Verb[edit]

monkey patch (third-person singular simple present monkey patches, present participle monkey patching, simple past and past participle monkey patched)

  1. (programming, neologism) To alter the behaviour of a program by forcefully overriding aspects of the original code at runtime.
    • 2007, Philip C. Plumlee, Test Driven Ajax (on Rails):
      Even though that works with some browsers, others provide Anchor objects without click() methods. Add this magic code to your application.js, to Monkey Patch a JavaScript click() event: