[#75225] [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7) — k@...
Issue #12324 has been reported by Kazuki Yamaguchi.
6 messages
2016/04/27
[#78693] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
k@rhe.jp wrote:
[#78701] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Kazuki Yamaguchi <k@...>
2016/12/17
On Sat, Dec 17, 2016 at 01:31:12AM +0000, Eric Wong wrote:
[#78702] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
Kazuki Yamaguchi <k@rhe.jp> wrote:
[ruby-core:75203] [Ruby trunk Feature#12319] `Module#const_get` does not accept symbol with nested name
From:
shevegen@...
Date:
2016-04-26 18:19:17 UTC
List:
ruby-core #75203
Issue #12319 has been updated by Robert A. Heiler.
I am also for keeping symbols simple! I love symbols, I abuse them a
lot in my ruby code to yield special instructions/behaviour such as:
disable :colours # where disable() is a method
But it would scare me if everyone would start to misuse symbols or
expand their usage too much. You also have to keep in mind that
newcomers are often confused about Strings versus Symbols. And I
think in the old ruby, it was actually not meant that Symbols
would become so exposed (not that I mind it, I myself love code
like the above)
----------------------------------------
Feature #12319: `Module#const_get` does not accept symbol with nested name
https://bugs.ruby-lang.org/issues/12319#change-58337
* Author: Tsuyoshi Sawada
* Status: Open
* Priority: Normal
* Assignee:
----------------------------------------
`Module#const_get` accepts non-nested string, nested string, and non-nested symbol:
~~~ruby
class A; class B; class C end end end
A.const_get("B") # => A::B
A.const_get("B::C") # => A::B::C
A.const_get(:B) # => A::B
~~~
but does not accept nested symbol:
~~~ruby
A.const_get(:"B::C") # => NameError: wrong constant name B::C
~~~
--
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>