Thursday, March 28, 2024

Ruby 2.0.0-p0 Released With Lots of New Features

Ruby 2.0 was released offering the open source community an assortment of new features and compatibility with the previous versions. One significant addition is “Refinements,” an experimental feature that aims to change the way monkey patching is performed. Refinements allow developers to change built-in methods without affecting other code that uses them.JRuby maintainer Charles Nutter describes Refinements as “a way to make class modifications that are only seen from within certain scopes,” or to localize the monkey patches. He explains in a blog post. Read the full blog post here.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Popular Articles

Featured