[#73707] [Ruby trunk Misc#12004] Code of Conduct — hanmac@...
Issue #12004 has been updated by Hans Mackowiak.
3 messages
2016/02/05
[#73730] [Ruby trunk Feature#12034] RegExp does not respect file encoding directive — nobu@...
Issue #12034 has been updated by Nobuyoshi Nakada.
3 messages
2016/02/07
[#73746] [Ruby trunk Feature#12034] RegExp does not respect file encoding directive — nobu@...
Issue #12034 has been updated by Nobuyoshi Nakada.
3 messages
2016/02/09
[#73919] [Ruby trunk Feature#11262] Make more objects behave like "Functions" — Ruby-Lang@...
Issue #11262 has been updated by J旦rg W Mittag.
3 messages
2016/02/22
[#74019] [Ruby trunk Bug#12103][Rejected] ruby process hangs while executing regular expression. — duerst@...
Issue #12103 has been updated by Martin D端rst.
3 messages
2016/02/27
[ruby-core:73822] [Ruby trunk Feature#12046][Rejected] Allow attr_reader :foo? to define instance method foo? for accessing @foo
From:
matz@...
Date:
2016-02-16 06:53:34 UTC
List:
ruby-core #73822
Issue #12046 has been updated by Yukihiro Matsumoto. Status changed from Open to Rejected as a rule, `attr_reader x` creates an instance variable `@x`, but we cannot have `@x?`. that's the reason, we reject `attr_reader :foo?`. If you have any concrete use-case for the new (more complex) behavior, please tell me. Matz. ---------------------------------------- Feature #12046: Allow attr_reader :foo? to define instance method foo? for accessing @foo https://bugs.ruby-lang.org/issues/12046#change-56999 * Author: Kenta Murata * Status: Rejected * Priority: Normal * Assignee: Yukihiro Matsumoto ---------------------------------------- Now we should write an accessor method of a boolean instance variable like ```ruby def foo? @foo end ``` But I want to write it by using attr_reader like: ```ruby attr_reader :foo? ``` -- 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>