def symbol_array(array)
    result = []
    array.each do |item|
      result << item.to_sym unless item.nil?
    end
    result
  end
def symbol_array(array)
    result = []
    array.each do |item|
      result << item.to_sym unless item.nil?
    end
    result
  end
Return a symbolized array

 * *Parameters*
   - [Array<String, Symbol>] *array*  Array of strings or symbols

 * *Returns*
   - [Array<Symbol>]  Returns array of symbols

 * *Errors*