Registry / utility / corefines

corefines

JSON →
library1.11.1rbrubygemsunverified

A collection of general purpose refinements for extending core Ruby classes with compatibility for older versions.

gem install corefines
INSTALL
IMPORT
SIG · COREFINES
C
corefines
utilityrubyv1.11.1
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.

Corefines
✓ require 'corefines'

Use a refinement to indent a string.

require 'corefines' using Corefines::String::Indent 'hello'.indent(2) # => ' hello'
Debug
Known issues
gotchaRefinements require Ruby 2.0+; compatibility mode may not support all features.
fix
Ensure Ruby version >= 2.0 or use compatibility mode with caution.
affects: < 2.0
Upgrade
Version history
1.11.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
corefines — gem install corefines · libregistry