From bbf26b43b7732e5e791dc684615f64d2ddeadea3 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 6 May 2017 20:36:29 +0200 Subject: Replace `Hash.new` with literal `{}`. --- lib/plist/parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plist/parser.rb b/lib/plist/parser.rb index d49fc80..aa09fb8 100755 --- a/lib/plist/parser.rb +++ b/lib/plist/parser.rb @@ -163,7 +163,7 @@ module Plist class PDict < PTag def to_ruby - dict = Hash.new + dict = {} key = nil children.each do |c| -- cgit v1.2.1