Maya 4.5+ has a Ramp Shader that's useful for that. Otherwise, you'd use the Sampler Info + Blend Colors Node with a layered shader as I did with my Toon Mike character. You'd adjust it to give you that kind of line.
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.