ramp as class decorator