I have the following code. Legislators is an array of data.
testArray = Legislators.each { |legislator| legislator['name']['first']}
In powershell this would leave me with an array of the legislator's first names.
Do I need to add each legislator object to the testArray as I loop through? I feel like there's probably a shortcut...