0.0
No commit activity in last 3 years
No release in over 3 years
Monkeypatches build on the monkey extension framework
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0
 Project Readme

monkey-patches¶ ↑

This is a set of commonly-used extensions to Ruby core classes, implemented using the Monkey monkeypatching framework.

Usage¶ ↑

The easiest way to use monkey-patches is to simply require the whole set of patches.

require 'monkey/patches'

Monkey.patch(Array, :blank?) { [].blank? }

Alternatively, you can require patches as-needed.

require 'monkey/patch/object/metaclass'

Monkey.patch(String, :metaclass) { "foo".metaclass }