[#106341] [Ruby master Bug#18369] users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" } — dorianmariefr <noreply@...>
Issue #18369 has been reported by dorianmariefr (Dorian Mari辿).
14 messages
2021/11/30
[#106351] [Ruby master Bug#18371] Release branches (release information in general) — "tenderlovemaking (Aaron Patterson)" <noreply@...>
Issue #18371 has been reported by tenderlovemaking (Aaron Patterson).
7 messages
2021/11/30
[ruby-core:106148] [Ruby master Feature#11689] Add methods allow us to get visibility from Method and UnboundMethod object.
From:
"austin (Austin Ziegler)" <noreply@...>
Date:
2021-11-18 15:25:13 UTC
List:
ruby-core #106148
Issue #11689 has been updated by austin (Austin Ziegler). Eregon (Benoit Daloze) wrote in #note-19: > I think `#visibility` is better, but to make progress on this I'm not against adding `public?/private?/protected?` instead. > It seems hard to find a new term that would fit here. C++ and Java call these `access specifiers`, so maybe `#access` instead of `#visibility`? Alternatively, a bit longer maybe `#access_level`? ---------------------------------------- Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object. https://bugs.ruby-lang.org/issues/11689#change-94749 * Author: yui-knk (Kaneko Yuichiro) * Status: Open * Priority: Normal ---------------------------------------- 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/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>