Registry / utility / polyfill

polyfill

JSON →
library1.9.0rbrubygemsunverified

Adds newer Ruby methods to older versions for backward compatibility.

gem install polyfill
INSTALL
IMPORT
SIG · POLYFILL
P
polyfill
utilityrubyv1.9.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.

Polyfill
require 'polyfill'

Enable newer Ruby methods

require 'polyfill' # Now use newer Ruby methods on older versions
Debug
Known issues
gotchaMay override existing methods if already defined
fix
Check Ruby version before requiring polyfill
affects: >= 0
Upgrade
Version history
1.9.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
polyfill — gem install polyfill · libregistry