lib/simctl/device_launchctl.rb in simctl-1.6.2 vs lib/simctl/device_launchctl.rb in simctl-1.6.3

- old
+ new

@@ -5,16 +5,16 @@ def initialize(device) @device = device end def list - fields = [:pid, :status, :name] + fields = %i[pid status name] device .spawn(device.path.launchctl, ['list']) .split("\n") .drop(1) - .map {|item| Hash[fields.zip(item.split("\t"))] } - .map {|item| OpenStruct.new(item) } + .map { |item| Hash[fields.zip(item.split("\t"))] } + .map { |item| OpenStruct.new(item) } end private attr_reader :device