lib/parametric/utils.rb in parametric-0.0.1 vs lib/parametric/utils.rb in parametric-0.0.2

- old
+ new

@@ -1,11 +1,11 @@ module Parametric module Utils - def self.value(val) + def self.value(val, separator = ',') if val.nil? '' elsif val.is_a?(Array) - val.join(',') + val.join(separator) else val end end \ No newline at end of file