summaryrefslogtreecommitdiff
path: root/lib/hashie/mash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hashie/mash.rb')
-rw-r--r--lib/hashie/mash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hashie/mash.rb b/lib/hashie/mash.rb
index 65222b1..69df491 100644
--- a/lib/hashie/mash.rb
+++ b/lib/hashie/mash.rb
@@ -141,7 +141,7 @@ module Hashie
case val
when ::Hash
val = val.dup if duping
- Hashie::Mash.new(val)
+ self.class.new(val)
when Array
val.collect{ |e| convert_value(e) }
else