Sha256: ffed4a4b1751bc06584b607a8ef7cc0d959fbca9ddf69c8e7f9db4ab7cf4bce6
Contents?: true
Size: 370 Bytes
Versions: 16
Compression:
Stored size: 370 Bytes
Contents
module Eeml class CsvParser #update the datastreams for the given environment, using the content in the given csv string. def update_datastreams_from_csv(csv_content, environment) # split values at commas datastream_values = csv_content.split(/,/) # now strip any whitespace datastream_values.map! { |d| d.strip } end end end
Version data entries
16 entries across 16 versions & 1 rubygems