Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alias for to_h to Config #710

Merged
merged 1 commit into from
Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions lib/xcodeproj/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ def to_hash(prefix = nil)
end
end

alias_method :to_h, :to_hash

# @return [Set<String>] The list of the frameworks required by this
# settings file.
#
Expand Down