Skip to content

Commit

Permalink
Merge pull request #53 from CocoaPods/fix_270_warning
Browse files Browse the repository at this point in the history
Fix Ruby 2.7.0 warning
  • Loading branch information
segiddins authored Jun 2, 2020
2 parents 1414d9c + 7af4561 commit de85da3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/nanaimo/writer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def to_s
#
UTF8 = "// !$*UTF8*$!\n".freeze

# @param plist [Plist,String,Hash,Array] The plist obejct to write
# @param plist [Plist,String,Hash,Array] The plist object to write
# @param pretty [Boolean] Whether to serialize annotations and add
# spaces and newlines to make output more legible
# @param output [#<<] The output stream to write the plist to
Expand Down
4 changes: 2 additions & 2 deletions lib/nanaimo/writer/pbxproj.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class PBXProjWriter < Writer
ISA = String.new('isa', '')
private_constant :ISA

def initialize(*)
super
def initialize(plist, **args)
super(plist, **args)
@objects_section = false
end

Expand Down

0 comments on commit de85da3

Please sign in to comment.