Registry / utility / mpatch

mpatch

JSON →
library2.12.2rbrubygemsunverified

A collection of Ruby monkey patches for making easier to use the basic classes.

gem install mpatch
INSTALL
IMPORT
SIG · MPATCH
M
mpatch
utilityrubyv2.12.2
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.

MPatch
require 'mpatch'

Use monkey-patched methods

require 'mpatch' # Example: String#to_foo added by mpatch puts 'hello'.to_foo
Debug
Known issues
gotchaMonkey patching core classes can cause conflicts with other libraries.
fix
Use refinements or avoid loading mpatch globally if conflicts arise.
affects: >= 2.12.0
Upgrade
Version history
2.12.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mpatch — gem install mpatch · libregistry