Project

General

Profile

Feature #7704

Add a list of enabled (experimental) language features.

Added by mpapis (Michal Papis) over 7 years ago. Updated over 2 years ago.

Status:
Open
Priority:
Normal
Target version:
-
[ruby-core:51459]

Description

With multiple Ruby implementations and "experimental" features like "refinements" it would be nice to have an array or hash including list of enabled language features so developers could check it instead of auto-discovering code with some hacks.

Additionally a new keyword like require_features :refinements, ... could be introduced to allow easy validation via either exception or return status.

Also available in: Atom PDF