lib/key_master.rb in cocoapods-keys-2.1.0 vs lib/key_master.rb in cocoapods-keys-2.2.0
- old
+ new
@@ -82,9 +82,9 @@
erb = (Pathname(__dir__).parent + 'templates' + erb_template).read
ERB.new(erb, nil, '-').result(binding)
end
def key_data_arrays
- Hash[@indexed_keys.map { |key, value| [key, value.map { |i| name + "Data[#{i}]" }.join(', ')] }]
+ Hash[@indexed_keys.map { |key, value| [key, value.map { |i| '[' + name + "Data characterAtIndex:#{i}]" }.join(', ')] }]
end
end
end