Quantum waveguide properties of a comb structure with a ring