monkey-patching
- It replacement of attributes, methods of classes in runtime
- It replacement of modules in runtime
- It replacement or extending of external libraries
Examples
- In JavaScript you can use monkey-patching for unit testing
- this ability is provided by libraries like Rewire