Ramp shaders

I’m trying to set up a ramp shader with a vertex group. Anyone know of a tutorial on ramp shaders?

Ramp shader has to do with texturing, and vertex group with modeling. What are you trying to do?