diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-12-21 23:14:08 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-12-21 23:14:08 +0530 |
commit | e0176bf7327c088ddc995d7306e72820a2713698 (patch) | |
tree | ffbc966f88ac4ad1fc1f143c228960ae7242645a /activesupport/lib | |
parent | f2e0925ab7279c5a7c0a5ba7574a09d9e5550fd0 (diff) | |
parent | 4a8bdabc8ee895eeb3c35f2c4dc4900c42b9cd86 (diff) | |
download | rails-e0176bf7327c088ddc995d7306e72820a2713698.tar.gz rails-e0176bf7327c088ddc995d7306e72820a2713698.tar.bz2 rails-e0176bf7327c088ddc995d7306e72820a2713698.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/array/wrap.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/wrap.rb b/activesupport/lib/active_support/core_ext/array/wrap.rb index 05b09a4c7f..1245768870 100644 --- a/activesupport/lib/active_support/core_ext/array/wrap.rb +++ b/activesupport/lib/active_support/core_ext/array/wrap.rb @@ -29,8 +29,7 @@ class Array # # [*object] # - # which for +nil+ returns <tt>[nil]</tt> (Ruby 1.8.7) or <tt>[]</tt> (Ruby - # 1.9), and calls to <tt>Array(object)</tt> otherwise. + # which for +nil+ returns <tt>[]</tt>, and calls to <tt>Array(object)</tt> otherwise. # # Thus, in this case the behavior may be different for +nil+, and the differences with # <tt>Kernel#Array</tt> explained above apply to the rest of <tt>object</tt>s. |