attempts to stringifys the config value if it is an array with the join char
Parameters:
val to stringify
join character defaults to ‘,’
Returns:
the stringified val or the object as is
96 97 98 99 100
# File 'lib/contrast/components/base.rb', line 96 def stringify_array val, join_char = ',' return val.join(join_char) if val.cs__is_a?(Array) val end