diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-10-23 20:03:40 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-10-23 20:54:39 +0530 |
commit | 69a3fa1efc979f9d65110560d9779c2f8a74d8f6 (patch) | |
tree | 7403e5a835d5b1cf061aa22e88a2a67a7a2f24bd /activemodel/lib/active_model/type.rb | |
parent | 8447f8d01c3722593ccd345fd7e88be8039ecbf1 (diff) | |
download | rails-69a3fa1efc979f9d65110560d9779c2f8a74d8f6.tar.gz rails-69a3fa1efc979f9d65110560d9779c2f8a74d8f6.tar.bz2 rails-69a3fa1efc979f9d65110560d9779c2f8a74d8f6.zip |
Use Hash#compact and Hash#compact! from Ruby 2.4
- Ruby 2.4 has added Hash#compact and Hash#compact! so we can use it
now.
- Reference: https://bugs.ruby-lang.org/issues/11818 and https://bugs.ruby-lang.org/issues/12863.
Diffstat (limited to 'activemodel/lib/active_model/type.rb')
0 files changed, 0 insertions, 0 deletions