Registry / utility / monkey-patch

monkey-patch

JSON →
library0.1.0rbrubygemsunverified

A simple library with common monkey patches for the standard Ruby classes.

gem install monkey-patch
INSTALL
IMPORT
SIG · MONKEY-PATCH
M
monkey-patch
utilityrubyv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MonkeyPatch
require 'monkey-patch'

Load common monkey patches for Ruby core classes.

require 'monkey-patch' # Now String has a new method: puts 'hello'.reverse # still works, but monkey patches add extras
Debug
Known issues
gotchaMonkey patching can cause unexpected behavior in larger codebases.
fix
Use refinements or avoid global monkey patches.
affects: >= 0.0.0
Upgrade
Version history
0.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
monkey-patch — gem install monkey-patch · libregistry