From 7e096ddbba46859674a817b26104494b3ae8c9e2 Mon Sep 17 00:00:00 2001 From: Eric Amorde Date: Wed, 25 Sep 2019 22:47:18 -0700 Subject: [PATCH] Add alias for `to_h` to `Config` --- CHANGELOG.md | 5 +++++ lib/xcodeproj/config.rb | 2 ++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca401eeb7..293fc360c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ * Add `PBXShellScriptBuildPhase` dependency file. [Dimitris Koutsogiorgas](https://github.com/dnkoutso) [#705](https://github.com/CocoaPods/Xcodeproj/pull/705) + +* Add `to_h` alias to `Config` + [Eric Amorde](https://github.com/amorde/) + [#710](https://github.com/CocoaPods/Xcodeproj/pull/710) + ##### Bug Fixes diff --git a/lib/xcodeproj/config.rb b/lib/xcodeproj/config.rb index a320e5f27..671f88189 100644 --- a/lib/xcodeproj/config.rb +++ b/lib/xcodeproj/config.rb @@ -157,6 +157,8 @@ def to_hash(prefix = nil) end end + alias_method :to_h, :to_hash + # @return [Set] The list of the frameworks required by this # settings file. #