Registry / utility / ruby-next

ruby-next

JSON →
library1.2.0rbrubygemsunverified

A collection of polyfills and a transpiler for supporting latest Ruby features in older versions and alternative implementations.

gem install ruby-next
INSTALL
IMPORT
SIG · RUBY-NEXT
R
ruby-next
utilityrubyv1.2.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.

RubyNext
require 'ruby-next'

Polyfill pattern matching for older Ruby versions

require 'ruby-next' RubyNext::Core.polyfill(:pattern_matching) { |obj| obj in [1, 2, 3] }
Debug
Known issues
gotchaTranspilation may not cover all edge cases; test thoroughly in your target environment.
fix
Run your test suite after transpilation and verify behavior on the target Ruby version.
affects: >= 1.0.0
Upgrade
Version history
1.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
ruby-next — gem install ruby-next · libregistry