Skip to content

Module#attr, attr_accessor, attr_reader, attr_writer are now public#5043

Merged
enebo merged 2 commits intojruby:ruby-2.5from
nomadium:module-attr-methods-are-now-public
Feb 15, 2018
Merged

Module#attr, attr_accessor, attr_reader, attr_writer are now public#5043
enebo merged 2 commits intojruby:ruby-2.5from
nomadium:module-attr-methods-are-now-public

Conversation

@nomadium
Copy link
Contributor

Hi folks,

This is another feature targeting Ruby 2.5 [1]:

  • Module#attr, attr_accessor, attr_reader, attr_writer are now public (feature #14132).

Note: The tests are copied from MRI.

Thanks for your review and feedback.

  1. Ruby 2.5 Support #4876

New public methods on Module class:

  - attr
  - attr_accessor
  - attr_reader
  - attr_writer
For more information, please see feature #14132.
@enebo enebo added this to the JRuby 9.3.0.0 milestone Feb 15, 2018
@enebo enebo merged commit 7901f47 into jruby:ruby-2.5 Feb 15, 2018
@nomadium nomadium deleted the module-attr-methods-are-now-public branch February 15, 2018 19:03
@enebo enebo modified the milestones: JRuby 9.3.0.0, JRuby 9.2.0.0 Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants