def line_to_tuple line
      line = line.chomp.split('=', 2)

      if line.size == 2 and not line.include? "#"
        attr = get_hash_attr_from_rc line[0]
        return [ attr.to_sym, line[1] ]
      else
        return nil
      end
    end
def line_to_tuple line
      line = line.chomp.split('=', 2)

      if line.size == 2 and not line.include? "#"
        attr = get_hash_attr_from_rc line[0]
        return [ attr.to_sym, line[1] ]
      else
        return nil
      end
    end
Converts a line of the form "json.array=on" to [ :json_array, true ]

 @param line [String] a line from a .taskrc file
 @return [Array<Symbol, Object>, nil] a valid line returns an array of
   length 2, invalid input returns nil
 @api private