From: shevegen@... Date: 2016-02-07T14:00:44+00:00 Subject: [ruby-core:73733] [Ruby trunk Feature#12046] Allow attr_reader :foo? to define instance method foo? for accessing @foo Issue #12046 has been updated by Robert A. Heiler. Yay! Sometimes things just take a while. :) ---------------------------------------- Feature #12046: Allow attr_reader :foo? to define instance method foo? for accessing @foo https://bugs.ruby-lang.org/issues/12046#change-56920 * Author: Kenta Murata * Status: Open * 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: