summaryrefslogtreecommitdiff
path: root/lib/hashie/mash.rb
diff options
context:
space:
mode:
authorDaniel Doubrovkine (dB.) @dblockdotorg <dblock@dblock.org>2019-12-14 14:45:21 -0500
committerGitHub <noreply@github.com>2019-12-14 14:45:21 -0500
commitb0161f545a9a9e68d3996df21f949b77edb81221 (patch)
tree081b59b732b150e926b28e166ed26d124702bdfe /lib/hashie/mash.rb
parent9c6b5c860aa77bdfaaf416c5c098536b7e2eed5c (diff)
parent0d085afd391193a63c005b8f0fef5ed4be79910c (diff)
downloadhashie-b0161f545a9a9e68d3996df21f949b77edb81221.tar.gz
Merge pull request #505 from michaelherold/fix-multiple-array-conversion
Ensure that Hashie::Arrays are not deconverted
Diffstat (limited to 'lib/hashie/mash.rb')
-rw-r--r--lib/hashie/mash.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/hashie/mash.rb b/lib/hashie/mash.rb
index f832e98..97d6fa6 100644
--- a/lib/hashie/mash.rb
+++ b/lib/hashie/mash.rb
@@ -382,8 +382,6 @@ module Hashie
when ::Hash
val = val.dup if duping
self.class.new(val)
- when Array
- val.map { |e| convert_value(e) }
when ::Array
Array.new(val.map { |e| convert_value(e) })
else