提交 69fa8ec3 编写于 作者: E Eileen M. Uchitelle 提交者: eileencodes

Merge pull request #36684 from soartec-lab/fix/update_guide_active_support_not_mention_old_ruby

Delete mention of Ruby 1.9 [skip ci]
上级 133a8cc6
......@@ -2358,10 +2358,6 @@ There's also a related idiom that uses the splat operator:
[*object]
```
which in Ruby 1.8 returns `[nil]` for `nil`, and calls to `Array(object)` otherwise. (Please if you know the exact behavior in 1.9 contact fxn.)
Thus, in this case the behavior is different for `nil`, and the differences with `Kernel#Array` explained above apply to the rest of `object`s.
NOTE: Defined in `active_support/core_ext/array/wrap.rb`.
### Duplicating
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册