[#92891] Question: ruby 2.7.0-preview1 also upgrades bundler to 2.1.0.pre.1? — Al Snow <jasnow@...>
Tried the new 2.7.0-preview1 upgrade to Ruby and see that bundler is also upgraded (to 2.1.0.pre.1).
5 messages
2019/05/30
[#92892] Re: Question: ruby 2.7.0-preview1 also upgrades bundler to 2.1.0.pre.1?
— SHIBATA Hiroshi <hsbt@...>
2019/05/30
Bundler 2.1.0.pree.1 is the expected version.
[ruby-core:92607] [Ruby trunk Feature#13123] NilClass#dig
From:
sawadatsuyoshi@...
Date:
2019-05-09 06:43:27 UTC
List:
ruby-core #92607
Issue #13123 has been updated by sawa (Tsuyoshi Sawada).
I am convinced by shyouhei's comment. Please close this feature request.
----------------------------------------
Feature #13123: NilClass#dig
https://bugs.ruby-lang.org/issues/13123#change-77966
* Author: sawa (Tsuyoshi Sawada)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
----------------------------------------
We now have `Hash#dig`. We often have a variable that is either a hash or nil but we are not sure which. In such cases, it would be convenient if we can apply `dig` without conditioning on whether it is a hash or nil.
```ruby
h = {a: 1}
h.dig(:a) # => 1
h = nil
h.dig(:a) # => nil
```
--
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>