Project

General

Profile

Actions

Feature #7704

open

Add a list of enabled (experimental) language features.

Added by mpapis (Michal Papis) almost 12 years ago. Updated 8 months ago.

Status:
Assigned
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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0