Issue #3072 has been updated by matz (Yukihiro Matsumoto).


Agreed. How about making `Data` alias to `Object`.
It may be removed in the future (3.0?).

Matz.


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

* 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>