[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>

Hello,

9 messages 2017/10/04

[ruby-core:83565] [Ruby trunk Feature#3072] Classes Inheriting from Data

From: mame@...
Date: 2017-10-25 14:09:09 UTC
List: ruby-core #83565
Issue #3072 has been updated by mame (Yusuke Endoh).


Matz, I think there are no longer reason to keep `Data` class.  Like `Fixnum`/`Bignum` unification, how about deleting it?

----------------------------------------
Feature #3072: Classes Inheriting from Data
https://bugs.ruby-lang.org/issues/3072#change-67592

* Author: runpaint (Run Paint Run Run)
* Status: Assigned
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: next minor
----------------------------------------
=begin
 As I understand it, the Data class is an internal abstraction, not intended to be exposed to userland like this.
  
   >> ObjectSpace.each_object(Class).select{|c| c < Data}
   => [Encoding::Converter, NameError::message]
=end




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next