From: Zachary Scott Date: 2013-06-02T22:28:46+09:00 Subject: [ruby-core:55253] Re: [ruby-trunk - Feature #8462][Open] Module.remove_const inconsistant naming --20cf30780e56c9293704de2bd374 Content-Type: text/plain; charset=ISO-8859-1 I may have overlooked this feature without a patch it's unclear what they want so please reopen when you have a patch On Sunday, June 2, 2013, charliesome (Charlie Somerville) wrote: > > Issue #8462 has been updated by charliesome (Charlie Somerville). > > > zzak, I don't see how this is a duplicate of #7414. Did you accidentally > post the wrong issue number? > ---------------------------------------- > Feature #8462: Module.remove_const inconsistant naming > https://bugs.ruby-lang.org/issues/8462#change-39645 > > Author: kyledecot (Kyle Decot) > Status: Rejected > Priority: Normal > Assignee: > Category: core > Target version: > > > 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). > > > -- > http://bugs.ruby-lang.org/ > > --20cf30780e56c9293704de2bd374 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I may have overlooked this feature without a patch it's unclear what th= ey want so please reopen when you have a patch

On Sunda= y, June 2, 2013, charliesome (Charlie Somerville) wrote:

Issue #8462 has been updated by charliesome (Charlie Somerville).


zzak, I don't see how this is a duplicate of #7414. Did you accidentall= y post the wrong issue number?
----------------------------------------
Feature #8462: Module.remove_const inconsistant naming
https://bugs.ruby-lang.org/issues/8462#change-39645

Author: kyledecot (Kyle Decot)
Status: Rejected
Priority: Normal
Assignee:
Category: core
Target version:


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 counterpar= t to const_set).


--
http://bugs.ruby-l= ang.org/

--20cf30780e56c9293704de2bd374--