class Nocode::Steps::Deserialize::Csv
take a specified register and parse it as a CSV to produce an array of hashes.
Public Instance Methods
perform()
click to toggle source
# File lib/nocode/steps/deserialize/csv.rb, line 10 def perform input = registers[register_option].to_s registers[register_option] = CSV.new(input, headers: true).map(&:to_h) end