Project

General

Profile

Actions

Feature #8462

closed

Module.remove_const inconsistant naming

Added by kyledecot (Kyle Decot) over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:55198]

Description

The Module class in Ruby has several methods for dealing w/ constants:

const_set
const_get
const_defined?
const_missing
remove_const

The last of which is inconsistently named. I propose that we deprecate this method and create a new one called const_unset (as it's the counterpart to const_set).

Actions

Also available in: Atom PDF

Like1
Like0Like0Like0Like0Like0Like0