ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: mame@ruby-lang.org
To: ruby-core@ruby-lang.org
Subject: [ruby-core:90037] [Ruby trunk Feature#11689] Add methods allow us to get visibility from Method and UnboundMethod object.
Date: Sat, 24 Nov 2018 13:10:05 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-75146.20181124131004.3daf33974e7f8014@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-11689.20151115045331@ruby-lang.org

Issue #11689 has been updated by mame (Yusuke Endoh).


FYI: The reason why matz does not like the term "visibility", is because the method attribute is not a visibility.  In fact, all methods are visible in Ruby.  Instead, the method attribute restricts how and where it can be called.  We briefly discussed another name candidate at the meeting, but we couldn't find a good name of the concept.  Then matz chose the three methods (public?, etc.) because we can avoid deciding the name.

----------------------------------------
Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
https://bugs.ruby-lang.org/issues/11689#change-75146

* Author: yui-knk (Kaneko Yuichiro)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
Add `Method#visibility` and `UnboundMethod#visibility` for getting visibility from Method and UnboundMethod object.
In GitHub https://github.com/ruby/ruby/pull/1098.

---Files--------------------------------
0001-Add-Method-visibility-and-UnboundMethod-visibility.patch (3.11 KB)


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

  parent reply	other threads:[~2018-11-24 13:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-11689.20151115045331@ruby-lang.org>
2015-11-15  4:53 ` [ruby-core:71490] [Ruby trunk - Feature #11689] [Open] Add methods allow us to get visibility from Method and UnboundMethod object spiketeika
2015-11-15  6:51 ` [ruby-core:71491] [Ruby trunk - Feature #11689] " shibata.hiroshi
2015-11-15 10:08 ` [ruby-core:71493] " spiketeika
2018-10-22 21:43 ` [ruby-core:89514] [Ruby trunk Feature#11689] " Mike
2018-11-04 23:56 ` [ruby-core:89708] " spiketeika
2018-11-05  0:40 ` [ruby-core:89709] " Mike
2018-11-05 15:43 ` [ruby-core:89711] " shevegen
2018-11-22  8:00 ` [ruby-core:89958] " matz
2018-11-22 17:51 ` [ruby-core:89982] " Mike
2018-11-24  6:43 ` [ruby-core:90024] " mame
2018-11-24 12:40 ` [ruby-core:90036] " eregontp
2018-11-24 13:10 ` mame [this message]
2018-11-24 15:50 ` [ruby-core:90038] " eregontp
2018-11-26  4:42 ` [ruby-core:90067] " duerst

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-75146.20181124131004.3daf33974e7f8014@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).