diff options
author | soartec-lab <info@soartec-lab.work> | 2019-07-15 23:29:58 +0900 |
---|---|---|
committer | soartec-lab <info@soartec-lab.work> | 2019-07-15 23:31:51 +0900 |
commit | 40b75cbc0b6d02c17e4f44254bef1b631bc8f08f (patch) | |
tree | aaacf06bf8c402c6b47488222f5298786aa34a40 /guides | |
parent | 79ef8310bec5eb2e3d05134b36bccda821703652 (diff) | |
download | rails-40b75cbc0b6d02c17e4f44254bef1b631bc8f08f.tar.gz rails-40b75cbc0b6d02c17e4f44254bef1b631bc8f08f.tar.bz2 rails-40b75cbc0b6d02c17e4f44254bef1b631bc8f08f.zip |
Delete mention of Ruby 1.9 [skip ci]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_support_core_extensions.md | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md index 8cb49ca6ae..61f1715dab 100644 --- a/guides/source/active_support_core_extensions.md +++ b/guides/source/active_support_core_extensions.md @@ -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 |